summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Efremov <efremov@linux.com>2019-07-14 14:02:25 +0200
committerDavid S. Miller <davem@davemloft.net>2019-07-14 21:12:59 +0200
commit14b4c48bb1ce6ff429a9288c9579cc984193ebaf (patch)
tree79f5854c44c9f57f02c658a891ec9f98546d62ee
parentbonding: add documentation for peer_notif_delay (diff)
downloadlinux-14b4c48bb1ce6ff429a9288c9579cc984193ebaf.tar.xz
linux-14b4c48bb1ce6ff429a9288c9579cc984193ebaf.zip
gve: Remove the exporting of gve_probe
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 <efremov@linux.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ethernet/google/gve/gve_main.c1
1 files changed, 0 insertions, 1 deletions
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 @@ abort_with_enabled:
pci_disable_device(pdev);
return -ENXIO;
}
-EXPORT_SYMBOL(gve_probe);
static void gve_remove(struct pci_dev *pdev)
{