]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
mpt3sas - remove unused fw_event_work elements
authorJoe Lawrence <joe.lawrence@stratus.com>
Mon, 18 Apr 2016 14:50:12 +0000 (10:50 -0400)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 26 Apr 2016 01:53:06 +0000 (21:53 -0400)
commitb8ac0cc78b56e798851f1435bc673761d3fb877e
tree3acc4d7397380851bf57f5f4e9d541183a59722c
parentb2bdaf2bde16537cbdbd5376acecc555f428603f
mpt3sas - remove unused fw_event_work elements

Firmware events are queued up using the fw_event_work's struct work, not
its delayed_work member.  The initial driver for SAS2 controllers had
handled firmware reset using the rescan barrier and was later redesigned
through "mpt2sas: [Resend] Host Reset code cleanup".  The delayed_work
variables are now unused and may provoke CONFIG_DEBUG_OBJECTS_TIMERS
"assert_init not available" false warnings in
_scsih_fw_event_cleanup_queue.

Cleanup fw_event_work's unused entries, update its kerneldoc, and
update _scsih_fw_event_cleanup_queue accordingly.

Fixes: 146b16c8071f (mpt3sas: Refcount fw_events and fix unsafe list usage)
Signed-off-by: Joe Lawrence <joe.lawrence@stratus.com>
Acked-by: Chaitra P B <chaitra.basappa@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mpt3sas/mpt3sas_scsih.c