From patchwork Tue Jan 10 08:14:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanjun Guo X-Patchwork-Id: 90646 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp500386qgi; Tue, 10 Jan 2017 00:18:29 -0800 (PST) X-Received: by 10.99.117.79 with SMTP id f15mr2557009pgn.69.1484036309613; Tue, 10 Jan 2017 00:18:29 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y17si1337957pgh.106.2017.01.10.00.18.29; Tue, 10 Jan 2017 00:18:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-scsi-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-scsi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966009AbdAJISN (ORCPT + 1 other); Tue, 10 Jan 2017 03:18:13 -0500 Received: from szxga01-in.huawei.com ([58.251.152.64]:17843 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965683AbdAJISL (ORCPT ); Tue, 10 Jan 2017 03:18:11 -0500 Received: from 172.24.1.60 (EHLO szxeml426-hub.china.huawei.com) ([172.24.1.60]) by szxrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id DXQ37560; Tue, 10 Jan 2017 16:17:28 +0800 (CST) Received: from linux-ibm.site (10.175.102.37) by szxeml426-hub.china.huawei.com (10.82.67.181) with Microsoft SMTP Server id 14.3.235.1; Tue, 10 Jan 2017 16:17:18 +0800 From: Hanjun Guo To: , CC: , , , Hanjun Guo Subject: [PATCH] scsi: remove useless acpi functions in the head file Date: Tue, 10 Jan 2017 16:14:04 +0800 Message-ID: <1484036044-9514-1-git-send-email-guohanjun@huawei.com> X-Mailer: git-send-email 1.7.12.4 MIME-Version: 1.0 X-Originating-IP: [10.175.102.37] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020203.587498AF.0011, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: cc6c23d65a56852845b3f92f8df5aa1f Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org From: Hanjun Guo commit f1bc1e4c44b1 ("ata: acpi: rework the ata acpi bind support") removed scsi_register_acpi_bus_type() and scsi_unregister_acpi_bus_type(), but forgot to remove them in the head file, do it now. Signed-off-by: Hanjun Guo --- include/scsi/scsi.h | 10 ---------- 1 file changed, 10 deletions(-) -- 1.7.12.4 -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Reviewed-by: John Garry diff --git a/include/scsi/scsi.h b/include/scsi/scsi.h index 8ec7c30..a1e1930 100644 --- a/include/scsi/scsi.h +++ b/include/scsi/scsi.h @@ -29,16 +29,6 @@ enum scsi_timeouts { */ #define SCAN_WILD_CARD ~0 -#ifdef CONFIG_ACPI -struct acpi_bus_type; - -extern int -scsi_register_acpi_bus_type(struct acpi_bus_type *bus); - -extern void -scsi_unregister_acpi_bus_type(struct acpi_bus_type *bus); -#endif - /** scsi_status_is_good - check the status return. * * @status: the status passed up from the driver (including host and