diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2020-02-25 21:08:52 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-02-26 20:38:13 -0800 |
commit | c535f9203209be19b60421b363b0bb2c7e90f298 (patch) | |
tree | 0e44c2cfcfd61bfe454f1e531976a2da5b50cd6e /lib/crypto/des.c | |
parent | 165b94ffcf8ef8165654df70f9f1c534797217cb (diff) |
af_llc: fix if-statement empty body warning
When debugging via dprintk() is not enabled, make the dprintk()
macro be an empty do-while loop, as is done in
<linux/sunrpc/debug.h>.
This fixes a gcc warning when -Wextra is set:
../net/llc/af_llc.c:974:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
I have verified that there is not object code change (with gcc 7.5.0).
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: netdev@vger.kernel.org
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/crypto/des.c')
0 files changed, 0 insertions, 0 deletions