diff options
author | Stefan Roese <sr@denx.de> | 2020-11-16 20:02:28 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-01-27 16:25:31 +0300 |
commit | 55f010356763d567ec9ec23f29a58af7b0fd2185 (patch) | |
tree | 64ebab88643d6ef7a23ca71b8c88080b4d99d52a | |
parent | e262b2973e22174da666038514d17f0f7171466b (diff) | |
download | u-boot-55f010356763d567ec9ec23f29a58af7b0fd2185.tar.xz |
net: e1000: Remove unused bus_to_phys() macro
bus_to_phys() is defined but not referenced at all. This patch removes
it completely.
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Aaron Williams <awilliams@marvell.com>
Cc: Chandrakala Chavva <cchavva@marvell.com>
-rw-r--r-- | drivers/net/e1000.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/e1000.c b/drivers/net/e1000.c index 733588302d..372f6c30ba 100644 --- a/drivers/net/e1000.c +++ b/drivers/net/e1000.c @@ -47,10 +47,8 @@ tested on both gig copper and gig fiber boards #ifdef CONFIG_DM_ETH #define virt_to_bus(devno, v) dm_pci_virt_to_mem(devno, (void *) (v)) -#define bus_to_phys(devno, a) dm_pci_mem_to_phys(devno, a) #else #define virt_to_bus(devno, v) pci_virt_to_mem(devno, (void *) (v)) -#define bus_to_phys(devno, a) pci_mem_to_phys(devno, a) #endif #define E1000_DEFAULT_PCI_PBA 0x00000030 |