From: Chuck Lever Date: Fri, 26 Sep 2008 20:13:45 +0000 (-0400) Subject: rpc.statd: Clean up: replace "if (!(foo = rtnl))". X-Git-Tag: nfs-utils-1-1-4~13 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=commitdiff_plain;h=9b13713fa592b02da0dc79c5505fdf7002155d13;hp=9b13713fa592b02da0dc79c5505fdf7002155d13 rpc.statd: Clean up: replace "if (!(foo = rtnl))". Static code checkers flag this kind of thing because it's easy to confuse with "if (!(foo == rtnl))". In one of these cases, the combination of evaluation and assignment isn't even necessary. While we are in the neighborhood, remove an extra argument to note() that is not called for in the passed-in format string. Signed-off-by: Chuck Lever Signed-off-by: Steve Dickson ---