Re: [2.6 patch] usbat_check_status(): fix check-after-use

2007-07-30 Thread Matthew Dharm
Signed-off-by: Matthew Dharm <[EMAIL PROTECTED]> On Tue, Jul 31, 2007 at 12:28:22AM +0200, Adrian Bunk wrote: > The Coverity checker spotted that we have already oops'ed if "us" > was NULL. > > Since "us" can't be NULL in the only caller this patch removes the > NULL check. > > Signed-off-by:

[2.6 patch] usbat_check_status(): fix check-after-use

2007-07-30 Thread Adrian Bunk
The Coverity checker spotted that we have already oops'ed if "us" was NULL. Since "us" can't be NULL in the only caller this patch removes the NULL check. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- --- linux-2.6.23-rc1-mm1/drivers/usb/storage/shuttle_usbat.c.old 2007-07-30

[2.6 patch] usbat_check_status(): fix check-after-use

2007-07-30 Thread Adrian Bunk
The Coverity checker spotted that we have already oops'ed if us was NULL. Since us can't be NULL in the only caller this patch removes the NULL check. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- --- linux-2.6.23-rc1-mm1/drivers/usb/storage/shuttle_usbat.c.old 2007-07-30

Re: [2.6 patch] usbat_check_status(): fix check-after-use

2007-07-30 Thread Matthew Dharm
Signed-off-by: Matthew Dharm [EMAIL PROTECTED] On Tue, Jul 31, 2007 at 12:28:22AM +0200, Adrian Bunk wrote: The Coverity checker spotted that we have already oops'ed if us was NULL. Since us can't be NULL in the only caller this patch removes the NULL check. Signed-off-by: Adrian Bunk