diff options
author | Dan Carpenter <error27@gmail.com> | 2009-11-10 09:53:58 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-11 20:55:22 +0100 |
commit | a33279dfd825846325546b4d42d542b214ccb8d9 (patch) | |
tree | 0002b1eb13523c1c39911954db05712460e790a7 /security | |
parent | USB: remove the auto_pm flag (diff) | |
download | linux-a33279dfd825846325546b4d42d542b214ccb8d9.tar.xz linux-a33279dfd825846325546b4d42d542b214ccb8d9.zip |
USB: r8a66597: clean up. remove unneeded null checks
td and dev can not be null.
Also they are dereferenced in list_for_each_entry_safe and list_for_each
before the check happens so we would have an oops if it were possible
for them to be null.
Found using the smatch static checker.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions