]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
scsi: megaraid_mbox: drop duplicate bus reset and device reset function
authorHannes Reinecke <hare@suse.de>
Fri, 25 Aug 2017 11:57:19 +0000 (13:57 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 25 Aug 2017 21:21:12 +0000 (17:21 -0400)
megaraid_mbox only has one reset function, and that is a host reset.  So
drop the duplicate bus reset and device reset functions.

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/megaraid/megaraid_mbox.c

index 6d0bd3ae397ee61ec09892baa1e3993b38a260f0..ec3c4385497865399c7d4cab92b0c6cd8558a7aa 100644 (file)
@@ -341,8 +341,6 @@ static struct scsi_host_template megaraid_template_g = {
        .proc_name                      = "megaraid",
        .queuecommand                   = megaraid_queue_command,
        .eh_abort_handler               = megaraid_abort_handler,
-       .eh_device_reset_handler        = megaraid_reset_handler,
-       .eh_bus_reset_handler           = megaraid_reset_handler,
        .eh_host_reset_handler          = megaraid_reset_handler,
        .change_queue_depth             = scsi_change_queue_depth,
        .use_clustering                 = ENABLE_CLUSTERING,