git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e28c6a7
)
USB rio500.c: fix check-after-use
author
Adrian Bunk
<bunk@kernel.org>
Thu, 18 Oct 2007 10:53:07 +0000
(12:53 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 25 Oct 2007 19:18:43 +0000
(12:18 -0700)
The Coverity checker spotted that we have already oops'ed if "dev"
was NULL in these places.
Since "dev" being NULL isn't possible at these places this patch removes
the NULL checks.
Additionally, I've fixed the formatting of the if's.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Oliver Neukum <oliver@neukum.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/misc/rio500.c
patch
|
blob
|
history
diff --cc
drivers/usb/misc/rio500.c
Simple merge