Dan Carpenter wrote: > 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. Thank you very much for your patch. I tested this patch. Acked-by: Yoshihiro Shimoda <shimoda.yoshihiro@xxxxxxxxxxx> Thanks, Yoshihro Shimoda -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html