summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/fujitsu
diff options
context:
space:
mode:
authorHui Tang <tanghui20@huawei.com>2021-05-19 13:30:53 +0800
committerDavid S. Miller <davem@davemloft.net>2021-05-19 12:17:31 -0700
commit2174fbd719148f2b88d85c6a4f6195df42978d5f (patch)
tree55ef6f81111b1bbf84136e69d5c93591a53df37b /drivers/net/ethernet/fujitsu
parent59909c1ab71d92f8bec0c69ece2552aaf44bedce (diff)
net: fujitsu: 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/' Cc: Masahiro Yamada <masahiroy@kernel.org> Signed-off-by: Hui Tang <tanghui20@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/fujitsu')
-rw-r--r--drivers/net/ethernet/fujitsu/fmvj18x_cs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ethernet/fujitsu/fmvj18x_cs.c b/drivers/net/ethernet/fujitsu/fmvj18x_cs.c
index a7b7a4aace79..7e451e61eefd 100644
--- a/drivers/net/ethernet/fujitsu/fmvj18x_cs.c
+++ b/drivers/net/ethernet/fujitsu/fmvj18x_cs.c
@@ -812,9 +812,9 @@ static netdev_tx_t fjn_start_xmit(struct sk_buff *skb,
if (length < ETH_ZLEN)
{
- if (skb_padto(skb, ETH_ZLEN))
- return NETDEV_TX_OK;
- length = ETH_ZLEN;
+ if (skb_padto(skb, ETH_ZLEN))
+ return NETDEV_TX_OK;
+ length = ETH_ZLEN;
}
netif_stop_queue(dev);