diff options
author | Kees Cook <keescook@chromium.org> | 2017-10-16 15:52:31 -0700 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-10-18 11:55:53 -0400 |
commit | a9346abed52f08e3e0ceb66d51f527ea11698d3c (patch) | |
tree | 0f83282697a2d1e6dabcb15ed22040fef0f86af1 /drivers/infiniband/hw/cxgb4/iw_cxgb4.h | |
parent | RDMA/i40iw: Convert timers to use timer_setup() (part 2) (diff) | |
download | linux-dev-a9346abed52f08e3e0ceb66d51f527ea11698d3c.tar.xz linux-dev-a9346abed52f08e3e0ceb66d51f527ea11698d3c.zip |
RDMA/cxgb4: Convert timers to use timer_setup()
In preparation for unconditionally passing the struct timer_list pointer to
all timer callbacks, switch to using the new timer_setup() and from_timer()
to pass the timer pointer explicitly. Also removes an unused timer and
drops a redundant initialization.
Cc: Steve Wise <swise@chelsio.com>
Cc: Doug Ledford <dledford@redhat.com>
Cc: Sean Hefty <sean.hefty@intel.com>
Cc: Hal Rosenstock <hal.rosenstock@gmail.com>
Cc: linux-rdma@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/cxgb4/iw_cxgb4.h')
-rw-r--r-- | drivers/infiniband/hw/cxgb4/iw_cxgb4.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/cxgb4/iw_cxgb4.h b/drivers/infiniband/hw/cxgb4/iw_cxgb4.h index 819a30635d53..c22eeee20df9 100644 --- a/drivers/infiniband/hw/cxgb4/iw_cxgb4.h +++ b/drivers/infiniband/hw/cxgb4/iw_cxgb4.h @@ -480,7 +480,6 @@ struct c4iw_qp { struct mutex mutex; struct kref kref; wait_queue_head_t wait; - struct timer_list timer; int sq_sig_all; struct work_struct free_work; struct c4iw_ucontext *ucontext; |