aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-08-09 07:00:49 -0400
committerDavid S. Miller <davem@davemloft.net>2018-08-11 14:25:18 -0400
commit98ed1e642c451b3ed9f4c5785b291a3fc9e82166 (patch)
tree6b020a77ce6de0c55b0240f16cb675291d04ce62
parentf741917e24e9de4cf5abe041ff1b4f28f9522387 (diff)
rxrpc: remove redundant static int 'zero'
The static int 'zero' is defined but is never used hence it is redundant and can be removed. The use of this variable was removed with commit a158bdd3247b ("rxrpc: Fix call timeouts"). Cleans up clang warning: warning: 'zero' defined but not used [-Wunused-const-variable=] Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/rxrpc/sysctl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/rxrpc/sysctl.c b/net/rxrpc/sysctl.c
index 4a7af7aff37d..d75bd15151e6 100644
--- a/net/rxrpc/sysctl.c
+++ b/net/rxrpc/sysctl.c
@@ -15,7 +15,6 @@
15#include "ar-internal.h" 15#include "ar-internal.h"
16 16
17static struct ctl_table_header *rxrpc_sysctl_reg_table; 17static struct ctl_table_header *rxrpc_sysctl_reg_table;
18static const unsigned int zero = 0;
19static const unsigned int one = 1; 18static const unsigned int one = 1;
20static const unsigned int four = 4; 19static const unsigned int four = 4;
21static const unsigned int thirtytwo = 32; 20static const unsigned int thirtytwo = 32;