]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
scsi: hisi_sas: Remove redundant work declaration
authorXiang Chen <chenxiang66@hisilicon.com>
Fri, 6 Sep 2019 12:55:33 +0000 (20:55 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 11 Sep 2019 02:28:56 +0000 (22:28 -0400)
Remove redundant work declaration in HISI_SAS_DECLARE_RST_WORK_ON_STACK

Link: https://lore.kernel.org/r/1567774537-20003-10-git-send-email-john.garry@huawei.com
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas.h

index a6b53d29a8a1e3cfdbbe86ce51b74525f4adf333..d02ab2699b9b7777e53cbc620ff617e6fcbbdb6e 100644 (file)
@@ -134,7 +134,6 @@ struct hisi_sas_rst {
 
 #define HISI_SAS_DECLARE_RST_WORK_ON_STACK(r) \
        DECLARE_COMPLETION_ONSTACK(c); \
-       DECLARE_WORK(w, hisi_sas_sync_rst_work_handler); \
        struct hisi_sas_rst r = HISI_SAS_RST_WORK_INIT(r, c)
 
 enum hisi_sas_bit_err_type {