aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4sysctl.c
diff options
context:
space:
mode:
authorWei Tang <tangwei@cmss.chinamobile.com>2015-12-04 16:06:57 +0800
committerTrond Myklebust <trond.myklebust@primarydata.com>2015-12-28 09:57:15 -0500
commited476752493bc997f1690516fdc0609ddcbaca82 (patch)
treef4bebc36619cc25354916b4ccb1b0305b2255880 /fs/nfs/nfs4sysctl.c
parentpNFS: Modify pnfs_update_layout tracepoints to use layout stateid (diff)
downloadlinux-dev-ed476752493bc997f1690516fdc0609ddcbaca82.tar.xz
linux-dev-ed476752493bc997f1690516fdc0609ddcbaca82.zip
nfs: do not initialise statics to 0
This patch fixes the checkpatch.pl error to nfs4sysctl.c: ERROR: do not initialise statics to 0 Signed-off-by: Wei Tang <tangwei@cmss.chinamobile.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/nfs4sysctl.c')
-rw-r--r--fs/nfs/nfs4sysctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4sysctl.c b/fs/nfs/nfs4sysctl.c
index 0fbd3ab1be22..8693d77c45ea 100644
--- a/fs/nfs/nfs4sysctl.c
+++ b/fs/nfs/nfs4sysctl.c
@@ -12,7 +12,7 @@
#include "nfs4idmap.h"
#include "callback.h"
-static const int nfs_set_port_min = 0;
+static const int nfs_set_port_min;
static const int nfs_set_port_max = 65535;
static struct ctl_table_header *nfs4_callback_sysctl_table;