]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
SUNRPC: Kill compiler warning when RPC_DEBUG is unset
authorChuck Lever <chuck.lever@oracle.com>
Tue, 20 Mar 2012 23:20:53 +0000 (19:20 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 21 Mar 2012 13:31:31 +0000 (09:31 -0400)
commitb3b536a1230a14e3ef97e5331ba7ad036c6258a9
tree16c60f7c5cb0728d9728e00892d63b15527057d1
parente27d359e9b7e446190362cd5c8fe281d02194896
SUNRPC: Kill compiler warning when RPC_DEBUG is unset

Loads of these:

linux/net/sunrpc/rpcb_clnt.c:942:2: warning: suggest braces around
  empty body in ‘do’ statement [-Wempty-body]

show up when I unset CONFIG_PROC_SYSCTL.  Seen with

  gcc (GCC) 4.6.1 20110908 (Red Hat 4.6.1-9)

Reported-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
include/linux/sunrpc/debug.h