X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=cmd%2Fide.c;h=2f93ba7904648837dd7e2b4596e3b5e73a7f1717;hb=4af2a33ee5b91223f993af9bb0de1a081090634b;hp=e3c32420cfe8886590dcee5478f41fa21140343d;hpb=09ed0d616d62f87bf854532e4e01950fbcd0bb42;p=oweals%2Fu-boot.git diff --git a/cmd/ide.c b/cmd/ide.c index e3c32420cf..2f93ba7904 100644 --- a/cmd/ide.c +++ b/cmd/ide.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2000-2011 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* @@ -18,10 +17,6 @@ #include #include -#if defined(CONFIG_IDE_PCMCIA) -# include -#endif - #include #include @@ -30,7 +25,7 @@ #endif /* Current I/O Device */ -static int curr_device = -1; +static int curr_device; int do_ide(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) {