IB/nes: Fix a compiler warning
authorBart Van Assche <bart.vanassche@wdc.com>
Thu, 5 Jul 2018 17:51:35 +0000 (10:51 -0700)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 9 Jul 2018 18:11:22 +0000 (12:11 -0600)
commit4c5743bc4fe3233cecc1c184a773c79c8ee45bbe
tree804ae551c1759af2e224f35d3892a14db609f337
parentf8c2d2280cf67cd85cff6b42c989bbf1c7d0af61
IB/nes: Fix a compiler warning

Avoid that the following compiler warning is reported when building with
W=1:

drivers/infiniband/hw/nes/nes_hw.c:646:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/nes/nes.h