diff options
author | antoine <antoine@FreeBSD.org> | 2009-11-11 19:39:45 +0000 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2009-11-11 19:39:45 +0000 |
commit | af54d0dea04f880f1cdf389cf863f59cb69f6ab3 (patch) | |
tree | 6e7d8d9db088c9d0eb62e0ab7f2fc613a4c61be8 | |
parent | 3a1c575a83cb40941cf6b7386fd18f75e43d27c8 (diff) | |
download | FreeBSD-src-af54d0dea04f880f1cdf389cf863f59cb69f6ab3.zip FreeBSD-src-af54d0dea04f880f1cdf389cf863f59cb69f6ab3.tar.gz |
- Remove trailing ";" after if statement
- Remove #if 0 section that was never needed/used
Reviewed by: raj@
MFC after: 1 month
-rw-r--r-- | sys/boot/uboot/lib/glue.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/boot/uboot/lib/glue.c b/sys/boot/uboot/lib/glue.c index 3945b05..5a9591c 100644 --- a/sys/boot/uboot/lib/glue.c +++ b/sys/boot/uboot/lib/glue.c @@ -467,7 +467,7 @@ ub_stor_type(int type) if (type & DT_STOR_USB) return ("USB"); - if (type & DT_STOR_MMC); + if (type & DT_STOR_MMC) return ("MMC"); return ("Unknown"); @@ -581,11 +581,6 @@ ub_env_enum(const char *last) if (!env) /* no more env. variables to enumerate */ return (NULL); -#if 0 - if (last && strncmp(env, last, strlen(last)) == 0); - /* error, trying to enumerate non existing env. variable */ - return NULL; -#endif /* next enumerated env var */ memset(env_name, 0, 256); |