From patchwork Tue Jan 10 12:16:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanjun Guo X-Patchwork-Id: 90688 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp589331qgi; Tue, 10 Jan 2017 04:21:41 -0800 (PST) X-Received: by 10.98.130.11 with SMTP id w11mr3422745pfd.172.1484050901628; Tue, 10 Jan 2017 04:21:41 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s125si1999611pgs.40.2017.01.10.04.21.41; Tue, 10 Jan 2017 04:21:41 -0800 (PST) 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 S1032753AbdAJMVi (ORCPT + 25 others); Tue, 10 Jan 2017 07:21:38 -0500 Received: from szxga03-in.huawei.com ([119.145.14.66]:7446 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031456AbdAJMVg (ORCPT ); Tue, 10 Jan 2017 07:21:36 -0500 Received: from 172.24.1.137 (EHLO szxeml422-hub.china.huawei.com) ([172.24.1.137]) by szxrg03-dlp.huawei.com (MOS 4.4.3-GA FastPath queued) with ESMTP id CNU57831; Tue, 10 Jan 2017 20:21:11 +0800 (CST) Received: from linux-ibm.site (10.175.102.37) by szxeml422-hub.china.huawei.com (10.82.67.152) with Microsoft SMTP Server id 14.3.235.1; Tue, 10 Jan 2017 20:21:00 +0800 From: Hanjun Guo To: , CC: , , , Johannes Thumshirn , Hanjun Guo Subject: [PATCH v2] scsi: remove useless acpi functions in the header file Date: Tue, 10 Jan 2017 20:16:43 +0800 Message-ID: <1484050603-5246-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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 header file, do it now. Reviewed-by: John Garry Reviewed-by: Johannes Thumshirn Signed-off-by: Hanjun Guo --- v1 -> v2: - fix s/head/header - add review tags include/scsi/scsi.h | 10 ---------- 1 file changed, 10 deletions(-) -- 1.7.12.4 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