projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: mii: Fix changes made by spatch
[platform/kernel/u-boot.git]
/
board
/
gdsys
/
405ex
/
io64.c
diff --git
a/board/gdsys/405ex/io64.c
b/board/gdsys/405ex/io64.c
index
6a83788
..
848cdde
100644
(file)
--- a/
board/gdsys/405ex/io64.c
+++ b/
board/gdsys/405ex/io64.c
@@
-264,8
+264,7
@@
int last_stage_init(void)
putc(slash[k % 8]);
}
- int retval;
- struct mii_dev *mdiodev = mdio_alloc();
+ mdiodev = mdio_alloc();
if (!mdiodev)
return -ENOMEM;
strncpy(mdiodev->name, CONFIG_SYS_GBIT_MII1_BUSNAME, MDIO_NAME_LEN);