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 afdf53958ab4677e16ed6bda6209fd531904e553..89154014e8aecb545042939be60646665c0132a2 100644 (file)
@@ -603,5 +603,4 @@ drop:
 
 op_err:
        hfi1_rc_error(qp, IB_WC_LOC_QP_OP_ERR);
-       return;
 }