Commit d364c0a9 authored by Peng Li's avatar Peng Li Committed by David S. Miller

net: hd64570: add blank line after declarations

This patch fixes the checkpatch error about missing a blank line
after declarations.
Signed-off-by: default avatarPeng Li <lipeng321@huawei.com>
Signed-off-by: default avatarGuangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 725637a8
...@@ -345,6 +345,7 @@ static inline void sca_tx_intr(port_t *port) ...@@ -345,6 +345,7 @@ static inline void sca_tx_intr(port_t *port)
u32 desc_off = desc_offset(port, port->txlast, 1); u32 desc_off = desc_offset(port, port->txlast, 1);
u32 cda = sca_inw(dmac + CDAL, card); u32 cda = sca_inw(dmac + CDAL, card);
if ((cda >= desc_off) && (cda < desc_off + sizeof(pkt_desc))) if ((cda >= desc_off) && (cda < desc_off + sizeof(pkt_desc)))
break; /* Transmitter is/will_be sending this frame */ break; /* Transmitter is/will_be sending this frame */
...@@ -371,6 +372,7 @@ static irqreturn_t sca_intr(int irq, void* dev_id) ...@@ -371,6 +372,7 @@ static irqreturn_t sca_intr(int irq, void* dev_id)
handled = 1; handled = 1;
for (i = 0; i < 2; i++) { for (i = 0; i < 2; i++) {
port_t *port = get_port(card, i); port_t *port = get_port(card, i);
if (port) { if (port) {
if (stat & SCA_INTR_MSCI(i)) if (stat & SCA_INTR_MSCI(i))
sca_msci_intr(port); sca_msci_intr(port);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment