]> git.ipfire.org Git - people/arne_f/kernel.git/commitdiff
scsi: imm: drop duplicate bus_reset handler
authorHannes Reinecke <hare@suse.de>
Fri, 25 Aug 2017 11:57:12 +0000 (13:57 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 25 Aug 2017 21:21:11 +0000 (17:21 -0400)
host_reset and bus_reset is the same function, so drop bus reset.

Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/imm.c

index 9164ce1249c107fd2460d0fd9b83daa6f178584b..87c94191033ba399515f620a39d74e995fdef69f 100644 (file)
@@ -1106,7 +1106,6 @@ static struct scsi_host_template imm_template = {
        .name                   = "Iomega VPI2 (imm) interface",
        .queuecommand           = imm_queuecommand,
        .eh_abort_handler       = imm_abort,
-       .eh_bus_reset_handler   = imm_reset,
        .eh_host_reset_handler  = imm_reset,
        .bios_param             = imm_biosparam,
        .this_id                = 7,