[patch 2/8] s390: vfree checking cleanup.
From: James Lamanna <[email protected]>
arch/s390/kernel/module.c vfree() checking cleanup.
Signed-off-by: James Lamanna <[email protected]>
Signed-off-by: Domen Puncer <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
diffstat:
arch/s390/kernel/module.c | 3 +--
1 files changed, 1 insertion(+), 2 deletions(-)
diff -urN linux-2.6/arch/s390/kernel/module.c linux-2.6-patched/arch/s390/kernel/module.c
--- linux-2.6/arch/s390/kernel/module.c 2004-12-24 22:35:27.000000000 +0100
+++ linux-2.6-patched/arch/s390/kernel/module.c 2005-01-31 18:51:20.000000000 +0100
@@ -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;
}