Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7154312ybi; Mon, 8 Jul 2019 15:44:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqxwKh2TwvChMt8vvsVAt2GFn/83zVyzeHJD/c0jAXGMKPtyqLWekbEcsXgiFQamAXR7xNcI X-Received: by 2002:a17:902:aa03:: with SMTP id be3mr27791160plb.240.1562625892521; Mon, 08 Jul 2019 15:44:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562625892; cv=none; d=google.com; s=arc-20160816; b=0nKM6uRoVnvj0VWyRusRDFIheqHPS4r6hDDkko84a1WDIruzzgjIKQ13nz4UWIXXUZ D9uKoorDOX2snYzUXVSM0yEkPYvyJos5JG1h/rfzfK0LuFg95I5zhZ9IixYzun3wP2B3 D5SyQ3EbkKmOOI7lM4WkiZorj7Szdw2eLHOQiPuQqQjK1n2G99HxBFdyBhuO4VSfRoBZ jp8Wa1sXshV727WEjdiA7mJAm5W/SjkZGMle1oMRxGPJCIn0zH28h6/+C/Nt+oOdbpIU LZr8WyAyzDyOIJ37kUC8JjkSGwSi6Cn0bWA+LnPLkLqQFBKVDGpPOP3xJ+hK9iXRsOQz XtcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=55n7G117BbTzggJy8syt05qoj/N3+eOU6IXg7pRzqlo=; b=JyZ+nXXPwncpeSzYZoEVWyU1t0Ite8KmXcIDk2IwXRlB/ScTRhQlzkwUNiuBlWRr0p 4f+1mNpNA+BFVJcjemXf9Dkb00gCEok5I81rKV7LJsUvN/PeHBjCRlnTVT/dqTTBFjKk 5kSQXdEDfeltL1fgqLCGy78LnqqGzXD3zM4HxOYTPu/Zx80zq346Wwv7wHXg9AM6GwrA GR77/E249HsRZwCbEdtZzsL6YieMbJaLRCaib6m11BJOi0TSphkZ1bdsaZRmEeyRqyjV 1wqB7QkoG5pLaeU9uK04MKqXNoslj1LIrTscgym6IL9rVQKnUg1PSd5t9HARAmZJQEfQ Bzag== 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 q2si703320pjv.99.2019.07.08.15.44.35; Mon, 08 Jul 2019 15:44:52 -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 S2389897AbfGHQnt (ORCPT + 99 others); Mon, 8 Jul 2019 12:43:49 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:43216 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729501AbfGHQnt (ORCPT ); Mon, 8 Jul 2019 12:43:49 -0400 Received: by mail-wr1-f67.google.com with SMTP id p13so17872022wru.10; Mon, 08 Jul 2019 09:43:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=55n7G117BbTzggJy8syt05qoj/N3+eOU6IXg7pRzqlo=; b=BKcBrw2+l9iWlUgCXrLJHpbZYdhOFxN3xPX42z3HozjLUFun9y/QBcXsoDKmoFy1u9 fams8XC4zQU5aw4cH5N/n6oJUzj8XM+/NQ1+GyHwiYWjAAmo0W96YLI6mFtXIPddDezc OQA0lFCao3Wzzzlp/ecE8q+Tc99I0B6VcUB215fAeR0RweIVjICmK7V6iYZ9RJfpnu0y CpeGTVVgY653NBxDfI7KAitB1qSjzsYAiMBVmUiTlZXHifO41Z8/ub08dVSi9D1fZ2wf hp9ai54lSam0obb3+g7M0LNOwC/8Lc2f+E74CFgcSVYhgnSfsHyk5Ilr+MTaQUXuKU1z SXAw== X-Gm-Message-State: APjAAAXJGqWr3XM4ooaKRpY+kFz11AZpveQIbNvGNbYGwwzZITrO8SkK mr0vFNLjyXpmw0QACC1Lezs= X-Received: by 2002:adf:ce8d:: with SMTP id r13mr5113159wrn.37.1562604227213; Mon, 08 Jul 2019 09:43:47 -0700 (PDT) Received: from green.intra.ispras.ru (bran.ispras.ru. [83.149.199.196]) by smtp.googlemail.com with ESMTPSA id x24sm147920wmh.5.2019.07.08.09.43.46 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 08 Jul 2019 09:43:46 -0700 (PDT) From: Denis Efremov To: Dan Williams Cc: Denis Efremov , "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] scsi: libsas: remove the exporting of sas_wait_eh Date: Mon, 8 Jul 2019 19:43:39 +0300 Message-Id: <20190708164339.14465-1-efremov@linux.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The function sas_wait_eh is declared static and marked EXPORT_SYMBOL, which is at best an odd combination. Because the function is not used outside of the drivers/scsi/libsas/sas_scsi_host.c file it is defined in, this commit removes the EXPORT_SYMBOL() marking. Signed-off-by: Denis Efremov --- drivers/scsi/libsas/sas_scsi_host.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/scsi/libsas/sas_scsi_host.c b/drivers/scsi/libsas/sas_scsi_host.c index ede0674d8399..5564d3f1243a 100644 --- a/drivers/scsi/libsas/sas_scsi_host.c +++ b/drivers/scsi/libsas/sas_scsi_host.c @@ -414,7 +414,6 @@ static void sas_wait_eh(struct domain_device *dev) goto retry; } } -EXPORT_SYMBOL(sas_wait_eh); static int sas_queue_reset(struct domain_device *dev, int reset_type, u64 lun, int wait) -- 2.21.0