NFSD: Fix sparse warning in nfs4proc.c
authorChuck Lever <chuck.lever@oracle.com>
Mon, 30 Nov 2020 21:17:40 +0000 (16:17 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Wed, 9 Dec 2020 14:38:34 +0000 (09:38 -0500)
commiteb162e1772f85231dabc789fb4bfea63d2d9df79
treeb5049f8f757098bb8153c25ca10dfd24df06b639
parent5e54dafbe0b4a2a8555ecf0b9690150da37ee0e1
NFSD: Fix sparse warning in nfs4proc.c

linux/fs/nfsd/nfs4proc.c:1542:24: warning: incorrect type in assignment (different base types)
linux/fs/nfsd/nfs4proc.c:1542:24:    expected restricted __be32 [assigned] [usertype] status
linux/fs/nfsd/nfs4proc.c:1542:24:    got int

Clean-up: The dup_copy_fields() function returns only zero, so make
it return void for now, and get rid of the return code check.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4proc.c