From: Xiang Chen Date: Fri, 6 Sep 2019 12:55:33 +0000 (+0800) Subject: scsi: hisi_sas: Remove redundant work declaration X-Git-Tag: v5.4-rc1~89^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=27f22723c3f4a1a3e66642b3da7a3d16ee602972;p=thirdparty%2Fkernel%2Flinux.git scsi: hisi_sas: Remove redundant work declaration 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 Signed-off-by: John Garry Signed-off-by: Martin K. Petersen --- diff --git a/drivers/scsi/hisi_sas/hisi_sas.h b/drivers/scsi/hisi_sas/hisi_sas.h index a6b53d29a8a1e..d02ab2699b9b7 100644 --- a/drivers/scsi/hisi_sas/hisi_sas.h +++ b/drivers/scsi/hisi_sas/hisi_sas.h @@ -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 {