Re: [PATCH] usbusx2yaudio: kfree(NULL) is valid

2007-05-14 Thread Takashi Iwai
At Sat, 12 May 2007 20:29:20 +0200 (MEST), Richard Knutsson wrote: > > if (!x) kfree(x); is not needed since kfree(NULL) is valid. > > Signed-off-by: Richard Knutsson <[EMAIL PROTECTED]> > --- > Compile-tested with all(yes|mod|no)config on x86(|_64) & sparc(|64) > Diffed against Linus' git-tree.

Re: [PATCH] usbusx2yaudio: kfree(NULL) is valid

2007-05-14 Thread Takashi Iwai
At Sat, 12 May 2007 20:29:20 +0200 (MEST), Richard Knutsson wrote: if (!x) kfree(x); is not needed since kfree(NULL) is valid. Signed-off-by: Richard Knutsson [EMAIL PROTECTED] --- Compile-tested with all(yes|mod|no)config on x86(|_64) sparc(|64) Diffed against Linus' git-tree. Thanks,

[PATCH] usbusx2yaudio: kfree(NULL) is valid

2007-05-12 Thread Richard Knutsson
if (!x) kfree(x); is not needed since kfree(NULL) is valid. Signed-off-by: Richard Knutsson <[EMAIL PROTECTED]> --- Compile-tested with all(yes|mod|no)config on x86(|_64) & sparc(|64) Diffed against Linus' git-tree. diff --git a/sound/usb/usx2y/usbusx2yaudio.c b/sound/usb/usx2y/usbusx2yaudio.c

[PATCH] usbusx2yaudio: kfree(NULL) is valid

2007-05-12 Thread Richard Knutsson
if (!x) kfree(x); is not needed since kfree(NULL) is valid. Signed-off-by: Richard Knutsson [EMAIL PROTECTED] --- Compile-tested with all(yes|mod|no)config on x86(|_64) sparc(|64) Diffed against Linus' git-tree. diff --git a/sound/usb/usx2y/usbusx2yaudio.c b/sound/usb/usx2y/usbusx2yaudio.c