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

From: Martin Schwidefsky
Date: Mon Jan 31 2005 - 12:59:38 EST


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

From: James Lamanna <jlamanna@xxxxxxxxx>

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

Signed-off-by: James Lamanna <jlamanna@xxxxxxxxx>
Signed-off-by: Domen Puncer <domen@xxxxxxxxxxxx>
Signed-off-by: Martin Schwidefsky <schwidefsky@xxxxxxxxxx>

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;
}

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