commit | 890e6c236dcda6d45c5f0bdd23665636376f6831 | [log] [tgz] |
---|---|---|
author | Alan Stern <stern@rowland.harvard.edu> | Fri Dec 09 15:25:15 2016 -0500 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Mon Jan 02 10:55:28 2017 +0200 |
tree | c1b754693a5ed2eb7b0ebc9f11b82de71869fc15 | |
parent | 1c069b057dcf64fada952eaa868d35f02bb0cfc2 [diff] |
USB: gadgetfs: remove unnecessary assignment The dev_config() routine in gadgetfs has a check that dev->dev->bNumConfigurations is equal to 1, and then contains a redundant line of code setting the value to 1. This patch removes the unnecessary assignment. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>