summaryrefslogtreecommitdiff
path: root/drivers/usb/c67x00
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2019-04-15 20:36:58 +0300
committerFelipe Balbi <felipe.balbi@linux.intel.com>2019-05-03 09:13:47 +0300
commit6574abe69946589bf0f69cf9b32f6a2c71ae764f (patch)
tree011ff7cf6bd66d893a8a33503af2a1571d31bd9b /drivers/usb/c67x00
parent2100e3ca3676e894fa48b8f6f01d01733387fe81 (diff)
downloadlinux-6574abe69946589bf0f69cf9b32f6a2c71ae764f.tar.xz
USB: UDC: net2280: Remove redundant "if" condition
The net2280 driver includes an unnecessary test for an endpoint's queue being empty. The test is redundant; it sits inside a conditional block of an "if" statement which already tests the endpoint's queue. This patch removes the redundant test. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/c67x00')
0 files changed, 0 insertions, 0 deletions