nfs: do not initialise statics to 0
authorWei Tang <tangwei@cmss.chinamobile.com>
Fri, 4 Dec 2015 08:06:57 +0000 (16:06 +0800)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 28 Dec 2015 14:57:15 +0000 (09:57 -0500)
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>
fs/nfs/nfs4sysctl.c

index 0fbd3ab1be222e9d3c47a7c96c16e11955724ad0..8693d77c45ea423c344254e0b3042f9e55b48d0b 100644 (file)
@@ -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;