IB/rdmavt: No need to cancel RNRNAK retry timer when it is running
authorKaike Wan <kaike.wan@intel.com>
Tue, 19 Dec 2017 03:56:30 +0000 (19:56 -0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 5 Jan 2018 18:34:55 +0000 (13:34 -0500)
commit437ff786e24934bb39493f9c381595e6fab6d338
treef2b86ea608c7471032aab8bf2d6587fa68845821
parent02ee9da347873699603d9ce0112a80b5dd69dea1
IB/rdmavt: No need to cancel RNRNAK retry timer when it is running

When the rdmavt's RNRNAK timer is fired, it tries to cancel the timer by
calling hrtimer_try_to_cancel(), which always returns -1 because the timer
is currently running. This patch removes this useless call.

Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Kaike Wan <kaike.wan@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/sw/rdmavt/qp.c