summaryrefslogtreecommitdiffstats
path: root/fs/nfs
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
parentf4848303ce125999886535323a64db26dba68293 (diff)
downloadlinux-ed476752493bc997f1690516fdc0609ddcbaca82.tar.gz
linux-ed476752493bc997f1690516fdc0609ddcbaca82.tar.bz2
linux-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')
-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;