]> git.baikalelectronics.ru Git - kernel.git/commit
net: cpsw: remove redundant calls disabling dma interrupts.
authorRichard Cochran <richardcochran@gmail.com>
Mon, 25 May 2015 09:02:16 +0000 (11:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 May 2015 22:19:09 +0000 (18:19 -0400)
commit6c5d141417ab960d334793bc23b45b740e259002
tree44ede75dd102b2236e2e6a0c4891a9d1eb270af4
parent7b01f9e2a413c06ddba1b31344835466920c7b48
net: cpsw: remove redundant calls disabling dma interrupts.

The function, cpsw_intr_disable, already calls cpdma_ctlr_int_ctrl.  There
is no need to disable the dma interrupts twice.  This patch removes the
extra calls.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c