Commit 64a480601a5614b441de692ae15a62c51e0bb381
Committed by
Wolfgang Denk
1 parent
f3a7bddc06
Exists in
master
and in
54 other branches
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>
Showing 1 changed file with 0 additions and 12 deletions Side-by-side Diff
examples/standalone/smc91111_eeprom.c
... | ... | @@ -33,8 +33,6 @@ |
33 | 33 | struct eth_device { unsigned long iobase; }; |
34 | 34 | #include "../drivers/net/smc91111.h" |
35 | 35 | |
36 | -#ifdef CONFIG_SMC91111 | |
37 | - | |
38 | 36 | #ifndef SMC91111_EEPROM_INIT |
39 | 37 | # define SMC91111_EEPROM_INIT() |
40 | 38 | #endif |
... | ... | @@ -391,14 +389,4 @@ |
391 | 389 | printf ("\n"); |
392 | 390 | } |
393 | 391 | } |
394 | - | |
395 | -#else | |
396 | - | |
397 | -int smc91111_eeprom (int argc, char *argv[]) | |
398 | -{ | |
399 | - printf("Not supported for this board\n"); | |
400 | - return 1; | |
401 | -} | |
402 | - | |
403 | -#endif |