aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/hamradio/hdlcdrv.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/hdlcdrv.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/hdlcdrv.c')
-rw-r--r--drivers/net/hamradio/hdlcdrv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/hamradio/hdlcdrv.c b/drivers/net/hamradio/hdlcdrv.c
index 9e0058154ac3..cbaf1cdde7cb 100644
--- a/drivers/net/hamradio/hdlcdrv.c
+++ b/drivers/net/hamradio/hdlcdrv.c
@@ -74,7 +74,7 @@
static inline void append_crc_ccitt(unsigned char *buffer, int len)
{
- unsigned int crc = crc_ccitt(0xffff, buffer, len) ^ 0xffff;
+ unsigned int crc = crc_ccitt(0xffff, buffer, len) ^ 0xffff;
buffer += len;
*buffer++ = crc;
*buffer++ = crc >> 8;