IB/IPoIB: Remove 'else' when the 'if' has a return.
authorDasaratharaman Chandramouli <[email protected]>
Sat, 29 Apr 2017 18:41:14 +0000 (14:41 -0400)
committerDoug Ledford <[email protected]>
Mon, 1 May 2017 18:32:43 +0000 (14:32 -0400)
commitcfd519358f50e55d304eaf6539ebb07bdc3ac813
tree350e614f2241675aeb4e16bff28fdc952d405a54
parentbef4211a7205e14c5355e51275846877cba82a04
IB/IPoIB: Remove 'else' when the 'if' has a return.

This patch fixes a checkpatch issue related to not having
to use an 'else' if the 'if' path returns from the function.

Reviewed-by: Ira Weiny <[email protected]>
Reviewed-by: Don Hiatt <[email protected]>
Reviewed-by: Sean Hefty <[email protected]>
Signed-off-by: Dasaratharaman Chandramouli <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
drivers/infiniband/ulp/ipoib/ipoib_multicast.c