Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3026640ybi; Sun, 14 Jul 2019 05:05:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqw+xKk0d1fhZ20P4fdi8qucaGCM6cwGuBDBrQvtlru3NHBwLbPnnx8u4pOJomOne33vIAWF X-Received: by 2002:a63:fb14:: with SMTP id o20mr10635940pgh.136.1563105906627; Sun, 14 Jul 2019 05:05:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563105906; cv=none; d=google.com; s=arc-20160816; b=DsmEfbJAgtPIwfKWjVu6sGZL4474/B1JDJogxbh5RwmsEf9dJbcOyqQcGHsEh4INvJ QJHYGMhdkdg2CW94lIuCZOflZByw9l5aSSSFVGm//Ueme+KnyHUSeSkZBKfZ+OvqrOcw PGuIjpJGETFph7//wjBW4aFLWtfjEh4/7hyXn+5CH0lcrhG3G5gmEVA+OMTxOIbY6Agk hBPaPF0MpCp9vBN3ZvTuANPGbV93bzEWzVcSUGOueI828NCLvtaMGmiYW88YenZfi52Q Uu0uGg/pgBHXberzyUVMxYhOl1jK4p9gnG6hddjG/HDRCdFDs68bSPlsg+L/Hf6D9/fG TjCA== 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=limhfPU+A9atVqhjrXoRTHVUj/ZAq4Mas0vu8xdEgl4=; b=hKIvXFFR1DGY7TBt6lwIeg3eLP8h7e61r2iBT0VP8Bu2o0ptbcEBu3jgWxqMdnB/mR q0VKhegsDYhPj9iF9GJ36/hJw8pu7L2N1NAPEK+ki0czPnOuU1Y7EesJ8/TjS5AWwbkT LPQnnOUMQppbNv7Aamh0kTFKtMAy08dWisjlkt3JUK6Yb9QkSskZiyrGW+xCjv2YYm8R GcxUMLfaQIZH55MVc4FvtaZNrbbZQ+0oD4xZxnJxRt7Vc8oBHTAUW4/n+TtJUWb6e4ry C03+ORE8mTC7i9U4aW/sBifCORCFBpOEqyG5onkUN1iJCJDSnGCHNwwrteocENVljQuk sJNQ== 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 z5si13315349pgj.213.2019.07.14.05.04.51; Sun, 14 Jul 2019 05:05:06 -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 S1728386AbfGNMCo (ORCPT + 99 others); Sun, 14 Jul 2019 08:02:44 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:44260 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728259AbfGNMCo (ORCPT ); Sun, 14 Jul 2019 08:02:44 -0400 Received: by mail-pl1-f196.google.com with SMTP id t14so6905464plr.11; Sun, 14 Jul 2019 05:02:43 -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=limhfPU+A9atVqhjrXoRTHVUj/ZAq4Mas0vu8xdEgl4=; b=SCdbBghuO3rnNCJDYqnbUb1chWn44CxNhJ/cv2ErFKU6SZD/JoLaOp/PLJlNdZ1DHI E+zPGX+rVn8tLeFHsYDP/hFkA0dVNdR/fMph5TyljbymnHSrMvyDparCy2NbjaaEqpLy bfxEQXw5yqmEm4M5CRPEq5xVTY8o+cBm8Y4cN9x49yeTSAZ2ynABTwWOOig8Gtc02g0U oz4wavmctMGTk/tuTdxvJbVCyU9iQ1885LJ59My0M4tkGuYCStFygODz9+qm57L9sJbU GLPu3AWs7i1mJZaHDoxzh9J22zlLRRQLHFS7C+r9S2V5gETCwqKiOqcGQBP7nwWkwO8B codA== X-Gm-Message-State: APjAAAVc5PopNABS3bzTXrcqelvZPhU9YFpwdgoz6dyWfp7fkkX2KBSd alyfJ6fRSvbiZmRFA6FVGww= X-Received: by 2002:a17:902:d81:: with SMTP id 1mr23356458plv.323.1563105763620; Sun, 14 Jul 2019 05:02:43 -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 o3sm32215200pje.1.2019.07.14.05.02.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 14 Jul 2019 05:02:42 -0700 (PDT) From: Denis Efremov To: Catherine Sullivan Cc: Denis Efremov , Sagi Shahar , Jon Olson , "David S. Miller" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] gve: Remove the exporting of gve_probe Date: Sun, 14 Jul 2019 15:02:25 +0300 Message-Id: <20190714120225.15279-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 gve_probe is declared static and marked EXPORT_SYMBOL, which is at best an odd combination. Because the function is not used outside of the drivers/net/ethernet/google/gve/gve_main.c file it is defined in, this commit removes the EXPORT_SYMBOL() marking. Signed-off-by: Denis Efremov --- drivers/net/ethernet/google/gve/gve_main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ethernet/google/gve/gve_main.c b/drivers/net/ethernet/google/gve/gve_main.c index 24f16e3368cd..e8ee8cac2bbf 100644 --- a/drivers/net/ethernet/google/gve/gve_main.c +++ b/drivers/net/ethernet/google/gve/gve_main.c @@ -1192,7 +1192,6 @@ static int gve_probe(struct pci_dev *pdev, const struct pci_device_id *ent) pci_disable_device(pdev); return -ENXIO; } -EXPORT_SYMBOL(gve_probe); static void gve_remove(struct pci_dev *pdev) { -- 2.21.0