]> git.sur5r.net Git - u-boot/commitdiff
smc91111_eeprom: drop CONFIG stub protection
authorMike Frysinger <vapier@gentoo.org>
Wed, 11 Nov 2009 22:51:56 +0000 (17:51 -0500)
committerWolfgang Denk <wd@denx.de>
Wed, 2 Dec 2009 22:33:01 +0000 (23:33 +0100)
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>
examples/standalone/smc91111_eeprom.c

index 89afc871fa70283cf5963448f5e4fa57188863f0..428ea7bd2faae36f48c82f295d275efb55560f6d 100644 (file)
@@ -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