]> asedeno.scripts.mit.edu Git - linux.git/commit
scsi: libfc: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Wed, 11 Oct 2017 19:51:53 +0000 (12:51 -0700)
committerKees Cook <keescook@chromium.org>
Fri, 27 Oct 2017 09:22:00 +0000 (02:22 -0700)
commit1f0849dac19ba35087e7a2056dde8206aa23c5e7
tree030cd7a4d4eb39999d7338c2cbbeb81e5d65796a
parentb0a2dc66152aa409860e02804169b0007244ebd7
scsi: libfc: 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. This removes several redundant setup
calls in favor of just changing the timer function directly.

Cc: Johannes Thumshirn <jth@kernel.org>
Cc: "James E.J. Bottomley" <jejb@linux.vnet.ibm.com>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: fcoe-devel@open-fcoe.org
Cc: linux-scsi@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Acked-by: Johannes Thumshirn <jth@kernel.org>
drivers/scsi/libfc/fc_fcp.c