diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2019-04-15 20:36:58 +0300 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2019-05-03 09:13:47 +0300 |
commit | 6574abe69946589bf0f69cf9b32f6a2c71ae764f (patch) | |
tree | 011ff7cf6bd66d893a8a33503af2a1571d31bd9b /drivers/usb/c67x00 | |
parent | 2100e3ca3676e894fa48b8f6f01d01733387fe81 (diff) | |
download | linux-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