summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/cache.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2010-08-12 17:04:07 +1000
committerJ. Bruce Fields <bfields@redhat.com>2010-09-21 19:16:31 -0400
commit2ed5282cd9b44686a6e718269abb5c5cd332d8f1 (patch)
tree7c7c00b3b1f52f4d038e04bcc46d1e8cd4eff8ff /net/sunrpc/cache.c
parent839049a8732d689d02051e0198fb60a22f7ccb4b (diff)
svcauth_gss: replace a trivial 'switch' with an 'if'
Code like: switch(xxx) { case -error1: case -error2: .. return; case 0: stuff; } can more naturally be written: if (xxx < 0) return; stuff; Signed-off-by: NeilBrown <neilb@suse.de> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc/cache.c')
0 files changed, 0 insertions, 0 deletions