nfsd: Remove unnecessary NULL checks
authorJ. Bruce Fields <bfields@redhat.com>
Tue, 30 Jul 2019 23:06:38 +0000 (19:06 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 16 Aug 2019 17:49:29 +0000 (13:49 -0400)
commit10fa8acf0fa6ed79ddb662488addb3ba71e9db60
tree3f592d51352d839b74a37fe811d2c1b22f31ce6f
parent4f375483559c94ec7c58fa3499e28e327d1ef911
nfsd: Remove unnecessary NULL checks

"cb" is never actually NULL in these functions.

On a quick skim of the history, they seem to have been there from the
beginning.  I'm not sure if they originally served a purpose.

Reported-by: Jia-Ju Bai <baijiaju1990@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4callback.c