From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1032742AbdAJMVi (ORCPT ); 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 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 Content-Type: text/plain X-Originating-IP: [10.175.102.37] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org 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(-) 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 -- 1.7.12.4