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

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

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