gve: Remove the exporting of gve_probe
authorDenis Efremov <efremov@linux.com>
Sun, 14 Jul 2019 12:02:25 +0000 (15:02 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 14 Jul 2019 19:12:59 +0000 (12:12 -0700)
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>
drivers/net/ethernet/google/gve/gve_main.c

index 24f16e3..e8ee8ca 100644 (file)
@@ -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)
 {