projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05c9afb
)
net: amd8111e: Remove duplicate definition of PCI_VENDOR_ID_AMD
author
Yazen Ghannam
<yazen.ghannam@amd.com>
Mon, 21 Oct 2024 15:38:25 +0000
(15:38 +0000)
committer
Jakub Kicinski
<kuba@kernel.org>
Mon, 28 Oct 2024 22:48:51 +0000
(15:48 -0700)
The AMD PCI vendor ID is already defined in <linux/pci_ids.h>.
Remove this local definition as it is not needed.
Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com>
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Link:
https://patch.msgid.link/20241021153825.2536819-1-yazen.ghannam@amd.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/amd/amd8111e.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/ethernet/amd/amd8111e.h
b/drivers/net/ethernet/amd/amd8111e.h
index 305232f5476d060d4d4e68dd16f4e494081cc05d..e4ee4c28800cfb2ecd11ebf266483daff3baf083 100644
(file)
--- a/
drivers/net/ethernet/amd/amd8111e.h
+++ b/
drivers/net/ethernet/amd/amd8111e.h
@@
-550,7
+550,6
@@
typedef enum {
/* Driver definitions */
-#define PCI_VENDOR_ID_AMD 0x1022
#define PCI_DEVICE_ID_AMD8111E_7462 0x7462
#define MAX_UNITS 8 /* Maximum number of devices possible */