Skip to contentSkip to conversation

s390: vfree checking cleanup.

PATCH New Martin Schwidefsky 1 participant 1 message Jan 31, 2005 s390

lore
Share & tools
lore
#0 lore raw

PATCH 2/8 s390: vfree checking cleanup.

[patch 2/8] s390: vfree checking cleanup.

From: James Lamanna <[email protected]>

arch/s390/kernel/module.c vfree() checking cleanup.

diffstat:

 arch/s390/kernel/module.c |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)
arch/s390/kernel/module.c +1 -2
diff -urN linux-2.6/arch/s390/kernel/module.c linux-2.6-patched/arch/s390/kernel/module.c
@@ -396,8 +396,7 @@
 		    const Elf_Shdr *sechdrs,
 		    struct module *me)
 {
-	if (me->arch.syminfo)
-		vfree(me->arch.syminfo);
+	vfree(me->arch.syminfo);
 	return 0;
 }