diff options
author | Dan Carpenter <error27@gmail.com> | 2009-11-10 10:53:58 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-11 11:55:22 -0800 |
commit | a33279dfd825846325546b4d42d542b214ccb8d9 (patch) | |
tree | 0002b1eb13523c1c39911954db05712460e790a7 /ipc | |
parent | fb34d53752d5bec5acc73422e462a9c68aeeaa2a (diff) |
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 'ipc')
0 files changed, 0 insertions, 0 deletions