net: ppp: remove leading spaces before tabs
authorHui Tang <tanghui20@huawei.com>
Thu, 20 May 2021 03:47:49 +0000 (11:47 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 May 2021 22:10:57 +0000 (15:10 -0700)
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: Tom Parkin <tparkin@katalix.com>
Signed-off-by: Hui Tang <tanghui20@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ppp/bsd_comp.c

index 61fedb23d3cfa72ccba6fbdcdff0f8de40786ce7..db0dc36d12e33ed7a481319c2d3a219ff88f3782 100644 (file)
@@ -436,7 +436,7 @@ static void *bsd_alloc (unsigned char *options, int opt_len, int decomp)
  * Initialize the data information for the compression code
  */
     db->totlen     = sizeof (struct bsd_db)   +
-                   (sizeof (struct bsd_dict) * hsize);
+                   (sizeof (struct bsd_dict) * hsize);
 
     db->hsize      = hsize;
     db->hshift     = hshift;