From mboxrd@z Thu Jan 1 00:00:00 1970 From: jlamanna@gmail.com Date: Tue, 04 Jan 2005 21:56:43 +0000 Subject: [KJ] [PATCH] [3/29] cpu_buffer.c - vfree() checking cleanups Message-Id: <41db111b.1340cedf.2568.07b0@smtp.gmail.com> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============81522801122321953==" List-Id: To: kernel-janitors@vger.kernel.org --===============81522801122321953== Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit cpu_buffer.c vfree() checking cleanups. Signed-off by: James Lamanna cpu_buffer.c | 3 +-- 1 files changed, 1 insertion(+), 2 deletions(-) --- linux-2.6.10-vanilla/drivers/oprofile/cpu_buffer.c 2004-12-24 13:33:49.000000000 -0800 +++ linux-2.6.10/drivers/oprofile/cpu_buffer.c 2005-01-04 11:39:01.000000000 -0800 @@ -37,8 +37,7 @@ int i; for_each_online_cpu(i) { - if (cpu_buffer[i].buffer) - vfree(cpu_buffer[i].buffer); + vfree(cpu_buffer[i].buffer); } } --===============81522801122321953== Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline _______________________________________________ Kernel-janitors mailing list Kernel-janitors@lists.osdl.org http://lists.osdl.org/mailman/listinfo/kernel-janitors --===============81522801122321953==--