nfsd: clean up svc_reserve_auth()
authorJ. Bruce Fields <bfields@citi.umich.edu>
Fri, 8 Feb 2008 04:10:21 +0000 (23:10 -0500)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Sun, 10 Feb 2008 23:11:16 +0000 (18:11 -0500)
commitfbb7878c1a2ee40a1e983bf20f3dd3a80255dcf2
tree9a03b3a15f105299bd3540dc20fb7e2c7953e29b
parentc64e80d55db81df22a7f25b75ab4ba4c55db4749
nfsd: clean up svc_reserve_auth()

This is a void function attempting to return the return value from
another void function, which seems harmless but extremely weird, and
apparently makes some compilers complain.

While we're there, clean up a little (e.g. the switch statement had a
minor style problem and seemed overkill as long as there's only one
case).

Thanks to Trond for noticing this.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
include/linux/sunrpc/svc.h