]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Sat, 22 Sep 2012 09:11:43 +0000 (02:11 -0700)
commitf40cfe58dd273f900be6af18aefb3f0df867e537
tree46f04ee63f0c7ce9192efa5ebe12a10611b8ca9b
parent3a5b61ddd36a8b1d42d64a3f27de82ad2211078f
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