staging/rdma/hfi1: Remove void function return statement
authorJubin John <jubin.john@intel.com>
Mon, 15 Feb 2016 04:21:26 +0000 (20:21 -0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 11 Mar 2016 01:45:40 +0000 (20:45 -0500)
Remove return statement at the end of a void function to fix
checkpatch warning:
WARNING: void function return statements are not generally useful

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/staging/rdma/hfi1/uc.c

index afdf539..8915401 100644 (file)
@@ -603,5 +603,4 @@ drop:
 
 op_err:
        hfi1_rc_error(qp, IB_WC_LOC_QP_OP_ERR);
-       return;
 }