summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/amd/lance.c
diff options
context:
space:
mode:
authorHui Tang <tanghui20@huawei.com>2021-05-19 08:30:36 +0300
committerDavid S. Miller <davem@davemloft.net>2021-05-19 22:17:30 +0300
commit106b4cb597666832b063df9d5e8d2bb102206f8b (patch)
tree0129ee391a04e966c85ae494cb728e292aecd43a /drivers/net/ethernet/amd/lance.c
parent40b1f92676f2af2bb808db62569156ec15e00c4a (diff)
downloadlinux-106b4cb597666832b063df9d5e8d2bb102206f8b.tar.xz
net: amd: remove leading spaces before tabs
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/' Signed-off-by: Hui Tang <tanghui20@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/amd/lance.c')
-rw-r--r--drivers/net/ethernet/amd/lance.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/amd/lance.c b/drivers/net/ethernet/amd/lance.c
index aff44241988c..2178e6b89dbd 100644
--- a/drivers/net/ethernet/amd/lance.c
+++ b/drivers/net/ethernet/amd/lance.c
@@ -780,7 +780,7 @@ lance_open(struct net_device *dev)
outw(0x0002, ioaddr+LANCE_ADDR);
/* Only touch autoselect bit. */
outw(inw(ioaddr+LANCE_BUS_IF) | 0x0002, ioaddr+LANCE_BUS_IF);
- }
+ }
if (lance_debug > 1)
printk("%s: lance_open() irq %d dma %d tx/rx rings %#x/%#x init %#x.\n",
@@ -812,7 +812,7 @@ lance_open(struct net_device *dev)
* We used to clear the InitDone bit, 0x0100, here but Mark Stockton
* reports that doing so triggers a bug in the '974.
*/
- outw(0x0042, ioaddr+LANCE_DATA);
+ outw(0x0042, ioaddr+LANCE_DATA);
if (lance_debug > 2)
printk("%s: LANCE open after %d ticks, init block %#x csr0 %4.4x.\n",