lkml.org 
[lkml]   [2005]   [Apr]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] usb: kfree() cleanups in drivers/usb/core/devio.c
On Tue, 12 Apr 2005, Greg KH wrote:

> Date: Tue, 12 Apr 2005 00:40:56 -0700
> From: Greg KH <gregkh@suse.de>
> To: Jesper Juhl <juhl-lkml@dif.dk>
> Cc: linux-kernel@vger.kernel.org, Thomas Sailer <sailer@ife.ee.ethz.ch>,
> Greg Kroah-Hartman <gregkh@suse.de>, linux-usb-devel@lists.sourceforge.net
> Subject: Re: [PATCH] usb: kfree() cleanups in drivers/usb/core/devio.c
>
> On Mon, Apr 11, 2005 at 11:55:22PM +0200, Jesper Juhl wrote:
> > Checking for NULL before calling kfree() is redundant. This patch removes
> > these redundant checks and also makes a few tiny whitespace changes.
> >
> > Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk>
>
> Applied, thanks.
>
You're welcome. I have a patch 90% done that makes the same change for all
of drivers/usb/* want me to send that along or would you prefer I stick to
just drivers/usb/core/* ? One huge patch OK or would you prefer it split
into one patch pr modified file?
I can send the patch later tonight when I get home from work.

--
Jesper Juhl

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

\
 
 \ /
  Last update: 2005-04-12 10:45    [W:0.247 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site