X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=common%2Fdocecc.c;h=3412affc795a6b0d319553a4982f8f5991a819b5;hb=bb1f8b4f8bb0bfce52e0faa4637b975b745824b3;hp=5daa6fc4054854ebd2b1ac456c084c5e0e223fca;hpb=c3517f919d0f61650cf3027fd4faf0f631142f6c;p=oweals%2Fu-boot.git diff --git a/common/docecc.c b/common/docecc.c index 5daa6fc405..3412affc79 100644 --- a/common/docecc.c +++ b/common/docecc.c @@ -31,8 +31,6 @@ #undef ECC_DEBUG #undef PSYCHO_DEBUG -#if defined(CONFIG_CMD_DOC) - #include /* need to undef it (from asm/termbits.h) */ @@ -513,5 +511,3 @@ int doc_decode_ecc(unsigned char sector[SECTOR_SIZE], unsigned char ecc1[6]) free(Index_of); return nb_errors; } - -#endif