IB/hfi1: Remove unreachable code
authorMike Marciniszyn <mike.marciniszyn@intel.com>
Tue, 12 Apr 2016 18:28:56 +0000 (11:28 -0700)
committerDoug Ledford <dledford@redhat.com>
Thu, 28 Apr 2016 20:32:28 +0000 (16:32 -0400)
commit87717f0a75432e078bb894ba230dd236be7a31a7
tree70728a747867bbf591a2f256e12f9c51a09b7981
parente4e0e39c8d41d5f6cb664a34ac7b2c6388b1b523
IB/hfi1: Remove unreachable code

Remove unreachable code from RC ack handling to fix an
smatch error.

Fixes: 633d27399514 ("staging/rdma/hfi1: use mod_timer when appropriate")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/staging/rdma/hfi1/rc.c