From 1bec1b980e3cf5ad604fb0c2038a3ab83d9ab5f5 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Tue, 6 Nov 2007 02:23:39 +0000 Subject: telnet: use poll, it's shorter *: style fixes --- modutils/insmod.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modutils/insmod.c') diff --git a/modutils/insmod.c b/modutils/insmod.c index 7d51d9db3..4620f6f95 100644 --- a/modutils/insmod.c +++ b/modutils/insmod.c @@ -1951,7 +1951,8 @@ static unsigned long obj_elf_hash_n(const char *name, unsigned long n) while (n > 0) { ch = *name++; h = (h << 4) + ch; - if ((g = (h & 0xf0000000)) != 0) { + g = (h & 0xf0000000); + if (g != 0) { h ^= g >> 24; h &= ~g; } -- cgit v1.2.3