diff options
author | Matteo Croce <mcroce@redhat.com> | 2019-06-26 09:49:45 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2019-06-27 19:56:50 +1000 |
commit | 0b36e4c0e973cc5d168e05112bdbb3de37467b5e (patch) | |
tree | e93bf482aa80a10f13846313c0f8063ccd72bf5a | |
parent | 25ff6b8cf63d38f492fbffa93c1bc078ed8df3cb (diff) | |
download | linux-0b36e4c0e973cc5d168e05112bdbb3de37467b5e.tar.gz linux-0b36e4c0e973cc5d168e05112bdbb3de37467b5e.tar.xz |
tipc: remove two unused variables
Remove two variables which are unused after merging 6a33853c5773 and
generate the following warnings:
CC [M] net/tipc/sysctl.o
net/tipc/sysctl.c:42:12: warning: `one' defined but not used [-Wunused-variable]
42 | static int one = 1;
| ^~~
net/tipc/sysctl.c:41:12: warning: `zero' defined but not used [-Wunused-variable]
41 | static int zero;
| ^~~~
Link: http://lkml.kernel.org/r/20190530091952.4108-1-mcroce@redhat.com
Signed-off-by: Matteo Croce <mcroce@redhat.com>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
-rw-r--r-- | net/tipc/sysctl.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/tipc/sysctl.c b/net/tipc/sysctl.c index 0cb92556fbb4..6159d327db76 100644 --- a/net/tipc/sysctl.c +++ b/net/tipc/sysctl.c @@ -38,8 +38,6 @@ #include <linux/sysctl.h> -static int zero; -static int one = 1; static struct ctl_table_header *tipc_ctl_hdr; static struct ctl_table tipc_table[] = { |