mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [patch 2/8] s390: vfree checking cleanup.
@ 2005-01-31 17:57 Martin Schwidefsky
  0 siblings, 0 replies; only message in thread
From: Martin Schwidefsky @ 2005-01-31 17:57 UTC (permalink / raw)
  To: akpm, linux-kernel

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

From: James Lamanna <jlamanna@gmail.com>

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

Signed-off-by: James Lamanna <jlamanna@gmail.com>
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-31 17:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-31 17:57 [patch 2/8] s390: vfree checking cleanup Martin Schwidefsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®