浏览代码

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>
Colin Ian King 7 年之前
父节点
当前提交
98ed1e642c
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      net/rxrpc/sysctl.c

+ 0 - 1
net/rxrpc/sysctl.c

@@ -15,7 +15,6 @@
 #include "ar-internal.h"
 #include "ar-internal.h"
 
 
 static struct ctl_table_header *rxrpc_sysctl_reg_table;
 static struct ctl_table_header *rxrpc_sysctl_reg_table;
-static const unsigned int zero = 0;
 static const unsigned int one = 1;
 static const unsigned int one = 1;
 static const unsigned int four = 4;
 static const unsigned int four = 4;
 static const unsigned int thirtytwo = 32;
 static const unsigned int thirtytwo = 32;