Skip to content

Commit 14b4c48

Browse files
evdenisdavem330
authored andcommitted
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>
1 parent 0307d58 commit 14b4c48

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/net/ethernet/google/gve/gve_main.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1192,7 +1192,6 @@ static int gve_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
11921192
pci_disable_device(pdev);
11931193
return -ENXIO;
11941194
}
1195-
EXPORT_SYMBOL(gve_probe);
11961195

11971196
static void gve_remove(struct pci_dev *pdev)
11981197
{

0 commit comments

Comments
 (0)