diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-11-11 17:51:56 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-12-02 23:33:01 +0100 |
commit | 64a480601a5614b441de692ae15a62c51e0bb381 (patch) | |
tree | 756d99badc89cb4dcfbdf3c967ef28814abe0eaf /examples/standalone | |
parent | f3a7bddc06c927c36a1a99a97131299479ef207a (diff) |
smc91111_eeprom: drop CONFIG stub protection
Since the Makefile now controls the compilation of this, there is no need
for CONFIG checking nor the stub function.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'examples/standalone')
-rw-r--r-- | examples/standalone/smc91111_eeprom.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/examples/standalone/smc91111_eeprom.c b/examples/standalone/smc91111_eeprom.c index 89afc871fa..428ea7bd2f 100644 --- a/examples/standalone/smc91111_eeprom.c +++ b/examples/standalone/smc91111_eeprom.c @@ -33,8 +33,6 @@ struct eth_device { unsigned long iobase; }; #include "../drivers/net/smc91111.h" -#ifdef CONFIG_SMC91111 - #ifndef SMC91111_EEPROM_INIT # define SMC91111_EEPROM_INIT() #endif @@ -391,13 +389,3 @@ void dump_reg (struct eth_device *dev) printf ("\n"); } } - -#else - -int smc91111_eeprom (int argc, char *argv[]) -{ - printf("Not supported for this board\n"); - return 1; -} - -#endif |