diff options
author | Kees Cook <keescook@chromium.org> | 2017-08-23 02:38:10 +0300 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2017-10-27 12:22:00 +0300 |
commit | abef751056130c90199e3bfc32916715795cde39 (patch) | |
tree | 3de8aa41f3651a5f8da35f0ca04774dbd42e63fc /drivers/scsi/dc395x.c | |
parent | b386eec6b0af30c947bf439bfabffb8fd6ab5fc0 (diff) | |
download | linux-abef751056130c90199e3bfc32916715795cde39.tar.xz |
scsi: bnx2i: 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.
There was a seemingly missing call to initialize the timer in one handler,
so this was added to remove the open-coded initialization.
Cc: QLogic-Storage-Upstream@qlogic.com
Cc: "James E.J. Bottomley" <jejb@linux.vnet.ibm.com>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: linux-scsi@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/dc395x.c')
0 files changed, 0 insertions, 0 deletions