commit | 6574abe69946589bf0f69cf9b32f6a2c71ae764f | [log] [tgz] |
---|---|---|
author | Alan Stern <stern@rowland.harvard.edu> | Mon Apr 15 13:36:58 2019 -0400 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Fri May 03 09:13:47 2019 +0300 |
tree | 011ff7cf6bd66d893a8a33503af2a1571d31bd9b | |
parent | 2100e3ca3676e894fa48b8f6f01d01733387fe81 [diff] |
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>