From bcb324d68f7955c1136dafc944eb55db8ebaa601 Mon Sep 17 00:00:00 2001 From: "Robert P. J. Day" Date: Thu, 19 Nov 2009 11:00:28 -0500 Subject: Remove superfluous preprocessor tests from some cmd_*.c files. A small number of common/cmd_*.c files contain preprocessor tests that are apparently superfluous since those same tests are used in the Makefile to control the compilation of those files. Those tests are clearly redundant as long as they surround the entirety of the source in those files. Signed-off-by: Robert P. J. Day --- common/cmd_mgdisk.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'common/cmd_mgdisk.c') diff --git a/common/cmd_mgdisk.c b/common/cmd_mgdisk.c index aadc33563..3ba62f618 100644 --- a/common/cmd_mgdisk.c +++ b/common/cmd_mgdisk.c @@ -24,8 +24,6 @@ #include #include -#if defined (CONFIG_CMD_MG_DISK) - #include int do_mg_disk_cmd (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) @@ -72,5 +70,3 @@ U_BOOT_CMD( " - sector read : mgd readsec [sector] [to] [counts]\n" " - sector write : mgd writesec [from] [sector] [counts]" ); - -#endif -- cgit v1.2.3