diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-07-30 18:28:22 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-12 17:54:59 -0400 |
commit | a96173af521a173f45d3a27fa24265081f12e978 (patch) | |
tree | a3198b3407b09e041aa0b8f7383b18225799cf2e /include | |
parent | efc9052e01fd316b7bd6b108feff7689c927ebe9 (diff) |
USB: Storage: usbat_check_status(): fix check-after-use
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 <bunk@stusta.de>
Signed-off-by: Matthew Dharm <mdharm-usb@one-eyed-alien.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions