sunrpc: fix stats.h for CONFIG_PROC_FS not enabled
authorRandy Dunlap <rdunlap@xenotime.net>
Tue, 24 Jan 2012 03:28:07 +0000 (03:28 +0000)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 1 Feb 2012 00:28:18 +0000 (19:28 -0500)
commitcc9f4be5ffb86b4b483eeb15eb08aebc60a1b9a9
tree72d21c6ef76ba379e09031513a90b893c1cb2b3e
parentec7652aaf261b7dcb368344369df1e99886c7cd2
sunrpc: fix stats.h for CONFIG_PROC_FS not enabled

Fix build errors in linux/sunrpc/stats.h when CONFIG_PROC_FS
is not enabled:
- add parameter names to inline functions
- fix placement of '(' in rpc_proc_unregister()

Fixes these errors:
include/linux/sunrpc/stats.h:72:63: error: parameter name omitted
include/linux/sunrpc/stats.h:73:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'net'

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
include/linux/sunrpc/stats.h