aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/hamradio/yam.c
diff options
context:
space:
mode:
authorHui Tang <tanghui20@huawei.com>2021-05-20 11:47:50 +0800
committerDavid S. Miller <davem@davemloft.net>2021-05-20 15:10:57 -0700
commitd1542f85dfc29f4a012e98730d8b465ea05cd461 (patch)
tree1bdf24ea607b6d11e248e8812e7a2129a0719fb7 /drivers/net/hamradio/yam.c
parentnet: ppp: remove leading spaces before tabs (diff)
downloadlinux-dev-d1542f85dfc29f4a012e98730d8b465ea05cd461.tar.xz
linux-dev-d1542f85dfc29f4a012e98730d8b465ea05cd461.zip
net: hamradio: remove leading spaces before tabs
There are a few leading spaces before tabs and remove it by running the following commard: $ find . -name '*.[ch]' | xargs sed -r -i 's/^[ ]+\t/\t/' Cc: Jiri Slaby <jirislaby@kernel.org> Signed-off-by: Hui Tang <tanghui20@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hamradio/yam.c')
-rw-r--r--drivers/net/hamradio/yam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/hamradio/yam.c b/drivers/net/hamradio/yam.c
index 5ab53e9942f3..d4911041596c 100644
--- a/drivers/net/hamradio/yam.c
+++ b/drivers/net/hamradio/yam.c
@@ -668,7 +668,7 @@ static void yam_tx_byte(struct net_device *dev, struct yam_port *yp)
}
yp->tx_len = skb->len - 1; /* strip KISS byte */
if (yp->tx_len >= YAM_MAX_FRAME || yp->tx_len < 2) {
- dev_kfree_skb_any(skb);
+ dev_kfree_skb_any(skb);
break;
}
skb_copy_from_linear_data_offset(skb, 1,