aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorSergey Shtylyov <[email protected]>2022-06-18 15:06:16 +0300
committerGreg Kroah-Hartman <[email protected]>2022-06-21 16:39:16 +0200
commit196a58bdec7c324d6d862cba19069b77ddd48b90 (patch)
tree9cc5af5bef9ec63b882ab7a8f7e75754dbd9247f /drivers/usb/cdns3/cdns3-debug.h
parent9d6d5303c39b8bc182475b22f45504106a07f086 (diff)
usb: musb: core: drop redundant checks
In musb_{save|restore}_context() the expression '&musb->endpoints[i]' just cannot be NULL, so the checks have no sense at all -- after dropping them, the local variables 'hw_ep' are no longer necessary, so drop them as well. Found by Linux Verification Center (linuxtesting.org) with the SVACE static analysis tool. Signed-off-by: Sergey Shtylyov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions