commit | a33279dfd825846325546b4d42d542b214ccb8d9 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <error27@gmail.com> | Tue Nov 10 10:53:58 2009 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Dec 11 11:55:22 2009 -0800 |
tree | 0002b1eb13523c1c39911954db05712460e790a7 | |
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>