commit | 3328d9752f3796a5f5f8695d27a175c34407a5ed | [log] [tgz] |
---|---|---|
author | Adrian Bunk <bunk@kernel.org> | Thu Oct 18 12:53:07 2007 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Thu Oct 25 12:18:43 2007 -0700 |
tree | e97145e9cec05cffecd2cbd296a479404098146f | |
parent | e28c6a77061ab28bd2f0b57e400e3e58cd3474ca [diff] |
USB rio500.c: fix check-after-use 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>