diff options
| author | Adrian Bunk <[email protected]> | 2007-10-18 12:53:07 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2007-10-25 12:18:43 -0700 |
| commit | 3328d9752f3796a5f5f8695d27a175c34407a5ed (patch) | |
| tree | e97145e9cec05cffecd2cbd296a479404098146f /scripts/patch-kernel | |
| 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 <[email protected]>
Acked-by: Oliver Neukum <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions