Both bus and device reset would be calling into the same function as host reset, so remove them as host reset will always be called. Signed-off-by: Hannes Reinecke <hare@xxxxxxx> --- drivers/scsi/megaraid.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/scsi/megaraid.c b/drivers/scsi/megaraid.c index b213ad62639d..ad0ea6dbd513 100644 --- a/drivers/scsi/megaraid.c +++ b/drivers/scsi/megaraid.c @@ -4156,8 +4156,6 @@ static struct scsi_host_template megaraid_template = { .sg_tablesize = MAX_SGLIST, .cmd_per_lun = DEF_CMD_PER_LUN, .eh_abort_handler = megaraid_abort, - .eh_device_reset_handler = megaraid_reset, - .eh_bus_reset_handler = megaraid_reset, .eh_host_reset_handler = megaraid_reset, .no_write_same = 1, }; -- 2.29.2