RDMA/nes: Cosmetic changes
authorTatyana Nikolova <Tatyana.E.Nikolova@intel.com>
Thu, 20 Sep 2012 20:53:27 +0000 (20:53 +0000)
committerRoland Dreier <roland@purestorage.com>
Mon, 1 Oct 2012 03:34:53 +0000 (20:34 -0700)
commit48a9956362c27e717a76435d450d906d5f49344a
treec410ccf83cb0429834505f79216af7dbff9b18f8
parent6ad1be814b106e182d9b12898280d0c115541b72
RDMA/nes: Cosmetic changes

 - Remove unnecessary statement "if (1)"
 - Refactor a statement (wqe_misc |= NES_NIC_SQ_WQE_COMPLETION) out of
   if/else statement, because it is independant of the flow.
 - Define netdev->features in one line for clarity.

Signed-off-by: Tatyana Nikolova <Tatyana.E.Nikolova@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/nes/nes_nic.c