[PATCH 1/2] kconfig/conf: kill deadcode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is likely to break the swith statement if the one of the enum member ever
reach 63 ('?').

Signed-off-by: Arnaud Lacombe <lacombar@xxxxxxxxx>
---
 scripts/kconfig/conf.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c
index 8e33aa7..057f49a 100644
--- a/scripts/kconfig/conf.c
+++ b/scripts/kconfig/conf.c
@@ -503,10 +503,6 @@ int main(int ac, char **av)
 			srand(seed);
 			break;
 		}
-		case '?':
-			fprintf(stderr, _("See README for usage info\n"));
-			exit(1);
-			break;
 		}
 	}
 	if (ac == optind) {
-- 
1.7.2.30.gc37d7.dirty

--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux