]> git.baikalelectronics.ru Git - kernel.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)
commit91dd9b796d0871fe6f935be73668bd19e56fbfde
tree16c60f7c5cb0728d9728e00892d63b15527057d1
parent3115873d48501efdb9deb031422938bd5c34830a
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