From 8991e135f7cc0f9e9c11860e570516f5d5b581dc Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Tue, 19 Jul 2011 20:17:51 -0400 Subject: elf/cache.c: Remove unnecessary condition --- elf/cache.c | 1 - 1 file changed, 1 deletion(-) (limited to 'elf/cache.c') diff --git a/elf/cache.c b/elf/cache.c index 09885930d7..393b4e5939 100644 --- a/elf/cache.c +++ b/elf/cache.c @@ -675,7 +675,6 @@ load_aux_cache (const char *aux_cache_name) if (aux_cache == MAP_FAILED || aux_cache_size < sizeof (struct aux_cache_file) || memcmp (aux_cache->magic, AUX_CACHEMAGIC, sizeof AUX_CACHEMAGIC - 1) - || aux_cache->nlibs < 0 || aux_cache->nlibs >= aux_cache_size) { close (fd); -- cgit 1.4.1