• Kees Cook's avatar
    scsi: bnx2i: Convert timers to use timer_setup() · abef7510
    Kees Cook authored
    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: default avatarKees Cook <keescook@chromium.org>
    Reviewed-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
    abef7510
bnx2i_iscsi.c 61.6 KB