Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp9406902ybi; Wed, 10 Jul 2019 09:43:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqzJZBl/646T99TW9dDyxE35M9KDS7Q9GMEUxLCkYqZDyeuhadtcfas8qBn0wD13K7jpfbaj X-Received: by 2002:a17:90a:25af:: with SMTP id k44mr7873475pje.122.1562777008737; Wed, 10 Jul 2019 09:43:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562777008; cv=none; d=google.com; s=arc-20160816; b=skcbP+zf4ojCsQBMlN641d1f3bW7Icay1zNy5Jtqo5hSWRorG/bloDkKvu406a+0V0 boczYJOa5mmn1u+aDeeF77eq18MsjXYg3+uHLNTbW7rsAIjVZVE4HpMBitJK2aZz0ps7 6DY5fPgxH8czP+tedptQTucM6Oot57/wghBqxCBVyEXRWGQJNVxnQ2hw5idsJ/zlMRRf /AQVAySCtWUxiz2WzoDiQ9TDrIa/yUpmHKOvlHgSH3IBFpfcXbQq05msaZ7fJItPzOYn Y3fjrfMqkpJ6hIO4gtdxVBfdBS3TABp3kQPuo/IkR0aoRh2ddZlJn5qw1ziQ3JeDQcyB e5jQ== 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=OYCkBfE5VzYOraD6A4aTNdxZz8pMoTxJpb4Qn0Coz5Y=; b=hpvQy0j7WkQ/HsGTAqeG1XbR1Dg/Dt4xs/4i7INOHH0dufPIaA9VQTHaQqCM9+jOQS S1zB4HSLqH5xhIPyr/GeRx8qjc7RJyPAlPvOX4fQGeuMaLUoSqxdqkDm+ULS0YCOnPhM aqbqoruHqUcCzvFQKgm89UEnRhtLy34+PjaHNydTMcnn7FibnchFeF/sewBGqvAsXP8c OiP7YT9maX6l2laPde+vWleJSwqrz+nC1ER9Ne3GrdKeAHCLkpvkuoPMJp547G1j+5zx zAVgnCKSHDSVv4zCuIdlM28ciubUrbsI4ji3w1e8TJH8+9kXs5BXDJgMJilClOxHEyrY nhrA== 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 t17si2411066pgu.68.2019.07.10.09.43.12; Wed, 10 Jul 2019 09:43:28 -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 S1728049AbfGJP3j (ORCPT + 99 others); Wed, 10 Jul 2019 11:29:39 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:38814 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727552AbfGJP3j (ORCPT ); Wed, 10 Jul 2019 11:29:39 -0400 Received: by mail-wm1-f68.google.com with SMTP id s15so2718064wmj.3; Wed, 10 Jul 2019 08:29:37 -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=OYCkBfE5VzYOraD6A4aTNdxZz8pMoTxJpb4Qn0Coz5Y=; b=VEQohiREzx2Qe9kGtKxlzuLl8DqCu5p1lDNNMYQGHer23qOWjf0ahOV5TCjsjQystb eZqE5QOHYUXe2M93ITqSTUivT4eCIgK394hWRR7Q7PgOD6/xjEqiFG5ZA7axT+JqhY9u Wi99PtksHiUK1vY8mB4uSBhljZTVKbf/kbc8hDr+e15WHQTd4hw93ikjxtyMrky/p7bR hAT3Cqa1c3LHSNqSUnWkBRb9xzCiJLz755jJ9/9u+8vsbtaW617BNwktB9Sa3T2e+PAR PbWbuqSCx8Tr/qQdT1bMGm25RvPaVZEaftV4siVrDUKqz9ZUPEQqjrl81kOZggMc63hJ rQ7w== X-Gm-Message-State: APjAAAXmm/QQzZzxHf0BDSTfrUmyWBu1P4/fAhKnloedP3c72hraWo9b Uf7WL5uDfgwMysWsLiKHC6o= X-Received: by 2002:a1c:b189:: with SMTP id a131mr6142061wmf.7.1562772577140; Wed, 10 Jul 2019 08:29:37 -0700 (PDT) Received: from localhost.localdomain (broadband-188-32-48-208.ip.moscow.rt.ru. [188.32.48.208]) by smtp.googlemail.com with ESMTPSA id g11sm2914510wru.24.2019.07.10.08.29.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Jul 2019 08:29:36 -0700 (PDT) From: Denis Efremov To: Chuansheng Liu Cc: Denis Efremov , Jens Axboe , linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ahci: Remove the exporting of ahci_em_messages Date: Wed, 10 Jul 2019 18:29:23 +0300 Message-Id: <20190710152923.25562-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 variable ahci_em_messages is declared static and marked EXPORT_SYMBOL_GPL, which is at best an odd combination. Because the variable is not used outside of the drivers/ata/libahci.c file it is defined in, this commit removes the EXPORT_SYMBOL_GPL() marking. Fixes: ed08d40cdec4 ("ahci: Changing two module params with static and __read_mostly") Signed-off-by: Denis Efremov --- drivers/ata/libahci.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/ata/libahci.c b/drivers/ata/libahci.c index e4c45d3cca79..bff369d9a1a7 100644 --- a/drivers/ata/libahci.c +++ b/drivers/ata/libahci.c @@ -175,7 +175,6 @@ struct ata_port_operations ahci_pmp_retry_srst_ops = { EXPORT_SYMBOL_GPL(ahci_pmp_retry_srst_ops); static bool ahci_em_messages __read_mostly = true; -EXPORT_SYMBOL_GPL(ahci_em_messages); module_param(ahci_em_messages, bool, 0444); /* add other LED protocol types when they become supported */ MODULE_PARM_DESC(ahci_em_messages, -- 2.21.0