]> 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)
commitb804cf1119d86f529b89bca9411485e5501407d7
tree44ede75dd102b2236e2e6a0c4891a9d1eb270af4
parent2e48b2b3ccac268c44e2e1da171d5106704252d1
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