* [KJ] [PATCH] [11/29] sn_hwperf.c - vfree() checking cleanups
@ 2005-01-04 21:56 jlamanna
0 siblings, 0 replies; only message in thread
From: jlamanna @ 2005-01-04 21:56 UTC (permalink / raw)
To: kernel-janitors
[-- Attachment #1: Type: text/plain, Size: 610 bytes --]
sn_hwperf.c vfree() checking cleanups.
Signed-off by: James Lamanna <jlamanna@gmail.com>
sn_hwperf.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
--- linux-2.6.10-vanilla/arch/ia64/sn/kernel/sn2/sn_hwperf.c 2004-12-24 13:35:24.000000000 -0800
+++ linux-2.6.10/arch/ia64/sn/kernel/sn2/sn_hwperf.c 2005-01-04 11:20:02.898659792 -0800
@@ -529,8 +529,7 @@
}
error:
- if (p)
- vfree(p);
+ vfree(p);
lock_kernel();
return r;
@@ -641,7 +640,6 @@
{
struct seq_file *seq
- if (seq->private)
- vfree(seq->private);
+ vfree(seq->private);
return seq_release(inode, file);
}
[-- Attachment #2: Type: text/plain, Size: 167 bytes --]
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-01-04 21:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-04 21:56 [KJ] [PATCH] [11/29] sn_hwperf.c - vfree() checking cleanups jlamanna
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.