net: hd64570: add blank line after declarations
authorPeng Li <lipeng321@huawei.com>
Sat, 5 Jun 2021 07:00:23 +0000 (15:00 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Jun 2021 19:25:21 +0000 (12:25 -0700)
This patch fixes the checkpatch error about missing a blank line
after declarations.

Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/hd64570.c

index e0266c687e19027690fee82a77e8c32fa1ebc422..cca6101d68d3eecb52e4661149ffa3f1e5c62866 100644 (file)
@@ -345,6 +345,7 @@ static inline void sca_tx_intr(port_t *port)
 
                u32 desc_off = desc_offset(port, port->txlast, 1);
                u32 cda = sca_inw(dmac + CDAL, card);
+
                if ((cda >= desc_off) && (cda < desc_off + sizeof(pkt_desc)))
                        break;  /* Transmitter is/will_be sending this frame */
 
@@ -371,6 +372,7 @@ static irqreturn_t sca_intr(int irq, void* dev_id)
                handled = 1;
                for (i = 0; i < 2; i++) {
                        port_t *port = get_port(card, i);
+
                        if (port) {
                                if (stat & SCA_INTR_MSCI(i))
                                        sca_msci_intr(port);