nfs: Remove trailing semicolon in macros
Macros should not use a trailing semicolon. Signed-off-by: Huilong Deng <denghuilong@cdjrlc.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
This commit is contained in:
parent
ae605ee983
commit
a799b68a7c
|
@ -362,7 +362,7 @@ static const struct kernel_param_ops param_ops_nfs_timeout = {
|
|||
.set = param_set_nfs_timeout,
|
||||
.get = param_get_nfs_timeout,
|
||||
};
|
||||
#define param_check_nfs_timeout(name, p) __param_check(name, p, int);
|
||||
#define param_check_nfs_timeout(name, p) __param_check(name, p, int)
|
||||
|
||||
module_param(nfs_mountpoint_expiry_timeout, nfs_timeout, 0644);
|
||||
MODULE_PARM_DESC(nfs_mountpoint_expiry_timeout,
|
||||
|
|
|
@ -1379,7 +1379,7 @@ static const struct kernel_param_ops param_ops_portnr = {
|
|||
.set = param_set_portnr,
|
||||
.get = param_get_uint,
|
||||
};
|
||||
#define param_check_portnr(name, p) __param_check(name, p, unsigned int);
|
||||
#define param_check_portnr(name, p) __param_check(name, p, unsigned int)
|
||||
|
||||
module_param_named(callback_tcpport, nfs_callback_set_tcpport, portnr, 0644);
|
||||
module_param_named(callback_nr_threads, nfs_callback_nr_threads, ushort, 0644);
|
||||
|
|
Loading…
Reference in New Issue