From patchwork Mon Mar 19 07:34:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Hellwig X-Patchwork-Id: 10291769 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id EA507602C2 for ; Mon, 19 Mar 2018 07:35:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D180528A0A for ; Mon, 19 Mar 2018 07:35:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C2BD729173; Mon, 19 Mar 2018 07:35:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 857DF28A0A for ; Mon, 19 Mar 2018 07:35:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751668AbeCSHfE (ORCPT ); Mon, 19 Mar 2018 03:35:04 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:58148 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750962AbeCSHfD (ORCPT ); Mon, 19 Mar 2018 03:35:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=sgooVhAggXJrqRhYNGtPYK612e6vva2NAg343ZpQkRU=; b=KM7+IzRWTo8zkGRsHmyz2eNCu 9R+Y6hozsteCDGSUncvXcjE8v+iutk3Oh+Uu/Rc+bq1FFXwX3eec8YdCvkiD+Qo2iukRCZb3+iFBT X+d5wTflkFHspkF469chIJgzZsPl3BgsL3WyPnSCS5+I/d0hLx9sqf+Q1X4lsXWuICy+fqTjMG+38 PQf5LqLfkcUG0OxMPxjJSsxRQfdQo/8mDuIAFIlk4sjzMc1ioF6ND6GQLvHwIK16dSmxFAmny7nZ7 foBXgONSUhltRzCr9Xo6CwcDwCngsUt8O+V1cTRhxiYxzGYRNtU2sFRc3cr8AXZywsuB6p3U3Xkwi G91TpnTsw==; Received: from 178.114.187.156.wireless.dyn.drei.com ([178.114.187.156] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1expJt-00074f-QS; Mon, 19 Mar 2018 07:35:02 +0000 From: Christoph Hellwig To: martin.petersen@oracle.com Cc: linux-scsi@vger.kernel.org Subject: [PATCH] scsi: unexport scsi_host_set_state Date: Mon, 19 Mar 2018 08:34:58 +0100 Message-Id: <20180319073458.8683-1-hch@lst.de> X-Mailer: git-send-email 2.14.2 X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This function is only used inside the SCSI midlayer, so remove the export for it. Signed-off-by: Christoph Hellwig Reviewed-by: Johannes Thumshirn Reviewed-by: Bart Van Assche --- drivers/scsi/hosts.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/scsi/hosts.c b/drivers/scsi/hosts.c index a0a7e4ff255c..0a5362822ed6 100644 --- a/drivers/scsi/hosts.c +++ b/drivers/scsi/hosts.c @@ -154,7 +154,6 @@ int scsi_host_set_state(struct Scsi_Host *shost, enum scsi_host_state state) scsi_host_state_name(state))); return -EINVAL; } -EXPORT_SYMBOL(scsi_host_set_state); /** * scsi_remove_host - remove a scsi host