From patchwork Fri Sep 6 12:55:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Garry X-Patchwork-Id: 173228 Delivered-To: patch@linaro.org Received: by 2002:ac9:19ad:0:0:0:0:0 with SMTP id d45csp600247oce; Fri, 6 Sep 2019 05:58:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqykjRRcIcwe5FgeGji7te9J3SdwQppYyazkUC/Bj+F77pbAD2j9U/b56dWLpK+ksftbRVy9 X-Received: by 2002:a17:902:a607:: with SMTP id u7mr9081832plq.43.1567774704818; Fri, 06 Sep 2019 05:58:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567774704; cv=none; d=google.com; s=arc-20160816; b=d0lySykYPqBE5PojJ4veRqv3nL3kBVsfV+IjZBiwDCgU6Bbz5yd36dcYnTwSQdfQ9H qb0RTccT2JRLm7kcO72E88QY+ou0GMOUDwPSChRsemjfODqiMrUQOlL+TovIC/HuO6ms 1axHs81PxXLrFNLAuUHsJWZ5HcQ7d53NgWQx4Q1IyJbRq4/w9rb0dzXjqQIqND9zw9Cs 2nPqFLbqB+vgSIcFwswZ3taBlA5DI5tw37SRJcK+5HHG5adon9Hh77lS5qM5+VDWdgh/ vm/l2mcf2/54YWZj5O+uv7a0XOhqJ5Cak1DJz2yvIO+LO/qnSqcwCZ7BaPwcXF6MlwM+ 6XEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=DZUrm/91Br6fNAHi1oT2hkpg/hK21ATXyVM/GfCug2c=; b=lRlOxrDcN0eFkB8W6+emj9c5p74+8+vNDYy5IHatDOjHipeaFrW6bG3LIKJKirjs6V g0T3But1obDe89xoPhrvAdcb+8JlSA/aQc3w7aAP81sQprlwQQToZV/2DZsSeMTw7fTV oQ26WEAFpV2ypTm4/ab+ttvqo/WezyAwUaWFd9bz8EgX0x1H16jD6kgtMEmuVmg5Qc/k nBC2YolpE+xR1J0rGPr4gnT3IqKKdnTHVP+0LNUPmIGVSgQUvAtgzd6kPacG4oLz2N84 TTtsj02GvRRu5sNx+G3M/2X2i8DTLkhXpTtvIQihwySDpC+XWQ0iIXDl0+1fuCRayC2y p/Gw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d7si2024552pfr.217.2019.09.06.05.58.24; Fri, 06 Sep 2019 05:58:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404958AbfIFM6V (ORCPT + 28 others); Fri, 6 Sep 2019 08:58:21 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:7137 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2404921AbfIFM6R (ORCPT ); Fri, 6 Sep 2019 08:58:17 -0400 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id E47001F02828A4D1F5CC; Fri, 6 Sep 2019 20:58:10 +0800 (CST) Received: from localhost.localdomain (10.67.212.75) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.439.0; Fri, 6 Sep 2019 20:58:03 +0800 From: John Garry To: , CC: , , , Xiang Chen , "John Garry" Subject: [PATCH 09/13] scsi: hisi_sas: Remove redundant work declaration Date: Fri, 6 Sep 2019 20:55:33 +0800 Message-ID: <1567774537-20003-10-git-send-email-john.garry@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1567774537-20003-1-git-send-email-john.garry@huawei.com> References: <1567774537-20003-1-git-send-email-john.garry@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.67.212.75] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Xiang Chen Remove redundant work declaration in HISI_SAS_DECLARE_RST_WORK_ON_STACK Signed-off-by: Xiang Chen Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas.h | 1 - 1 file changed, 1 deletion(-) -- 2.17.1 diff --git a/drivers/scsi/hisi_sas/hisi_sas.h b/drivers/scsi/hisi_sas/hisi_sas.h index a6b53d29a8a1..d02ab2699b9b 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 {