projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb8307e
)
net: eepro100: Drop bd_t pointer from read_hw_addr()
author
Marek Vasut
<marek.vasut+renesas@gmail.com>
Sat, 23 May 2020 15:20:39 +0000
(17:20 +0200)
committer
Marek Vasut
<marek.vasut+renesas@gmail.com>
Thu, 18 Jun 2020 17:34:40 +0000
(19:34 +0200)
The pointer is unused, so drop it. Rename the function to start
with the eepro100_ prefix.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
drivers/net/eepro100.c
patch
|
blob
|
history
diff --git
a/drivers/net/eepro100.c
b/drivers/net/eepro100.c
index ed6bbd5cf82759c56ee91338f1ee21330b56115e..fb8a68f84c10862e95b26911ae69173549f965be 100644
(file)
--- a/
drivers/net/eepro100.c
+++ b/
drivers/net/eepro100.c
@@
-512,7
+512,7
@@
static struct pci_device_id supported[] = {
{ }
};
-static void
read_hw_addr(struct eepro100_priv *priv, bd_t *bis
)
+static void
eepro100_get_hwaddr(struct eepro100_priv *priv
)
{
u16 sum = 0;
int i, j;
@@
-845,7
+845,7
@@
int eepro100_initialize(bd_t *bis)
udelay(10 * 1000);
-
read_hw_addr(priv, bis
);
+
eepro100_get_hwaddr(priv
);
}
return card_number;