]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
rpc.statd: Clean up: replace "if (!(foo = rtnl))".
authorChuck Lever <chuck.lever@oracle.com>
Fri, 26 Sep 2008 20:13:45 +0000 (16:13 -0400)
committerSteve Dickson <steved@redhat.com>
Fri, 26 Sep 2008 20:13:45 +0000 (16:13 -0400)
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 <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>

No differences found