[PATCH] Code cleanups in calbacks in svcsock
authorNeil Brown <neilb@suse.de>
Tue, 13 Sep 2005 08:25:39 +0000 (01:25 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 13 Sep 2005 15:22:32 +0000 (08:22 -0700)
commit939bb7ef901b2537aa5b4cd819f9c1b25c6a5710
tree53bbc1a416577780096913113608a832f4e72cba
parent73aea4ecd38ebeff9e322f738057f4ae2c32a3ee
[PATCH] Code cleanups in calbacks in svcsock

Change a printk(KERN_WARNING to dprintk, and it is really only interesting
when trying to debug a problem, and can occur normally without error.

Remove various gratuitous gotos in surrounding code, and remove some
type-cast assignments from inside 'if' conditionals, as that is just
obscuring what it going on.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
net/sunrpc/svcsock.c