net: seeq: remove leading spaces before tabs
authorHui Tang <tanghui20@huawei.com>
Wed, 19 May 2021 05:30:46 +0000 (13:30 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 May 2021 19:17:31 +0000 (12:17 -0700)
There are a few leading spaces before tabs and remove it by running the
following commard:

$ find . -name '*.c' | xargs sed -r -i 's/^[ ]+\t/\t/'
$ find . -name '*.h' | xargs sed -r -i 's/^[ ]+\t/\t/'

Cc: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Hui Tang <tanghui20@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/seeq/ether3.c

index 65c9883..16a4cba 100644 (file)
@@ -617,7 +617,7 @@ if (next_ptr < RX_START || next_ptr >= RX_END) {
  break;
 }
                /*
-                * ignore our own packets...
+                * ignore our own packets...
                 */
                if (!(*(unsigned long *)&dev->dev_addr[0] ^ *(unsigned long *)&addrs[2+6]) &&
                    !(*(unsigned short *)&dev->dev_addr[4] ^ *(unsigned short *)&addrs[2+10])) {
@@ -672,7 +672,7 @@ done:
         */
        if (!(ether3_inw(REG_STATUS) & STAT_RXON)) {
                dev->stats.rx_dropped++;
-               ether3_outw(next_ptr, REG_RECVPTR);
+               ether3_outw(next_ptr, REG_RECVPTR);
                ether3_outw(priv(dev)->regs.command | CMD_RXON, REG_COMMAND);
        }
 
@@ -690,11 +690,11 @@ static void ether3_tx(struct net_device *dev)
        do {
                unsigned long status;
 
-               /*
+               /*
                 * Read the packet header
-                */
+                */
                ether3_setbuffer(dev, buffer_read, tx_tail * 0x600);
-               status = ether3_readlong(dev);
+               status = ether3_readlong(dev);
 
                /*
                 * Check to see if this packet has been transmitted