Re: [PATCH] usb: kfree() cleanups in drivers/usb/core/devio.c

From: Jesper Juhl
Date: Tue Apr 12 2005 - 03:44:19 EST


On Tue, 12 Apr 2005, Greg KH wrote:

> Date: Tue, 12 Apr 2005 00:40:56 -0700
> From: Greg KH <gregkh@xxxxxxx>
> To: Jesper Juhl <juhl-lkml@xxxxxx>
> Cc: linux-kernel@xxxxxxxxxxxxxxx, Thomas Sailer <sailer@xxxxxxxxxxxxxx>,
> Greg Kroah-Hartman <gregkh@xxxxxxx>, linux-usb-devel@xxxxxxxxxxxxxxxxxxxxx
> 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@xxxxxx>
>
> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/