]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite1707776e3516c38c1cb2f22cb31854ac4c2b2e6
tree3f592d51352d839b74a37fe811d2c1b22f31ce6f
parentabeef2e791089cdf721943cf9986a0f7a036ca07
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