diff options
author | Shawn Lin <shawn.lin@rock-chips.com> | 2018-02-24 20:37:36 -0500 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2018-03-05 07:04:30 -0500 |
commit | 129d21ce15af027696864b2798b41f4514f1c8c2 (patch) | |
tree | 57ec7015a9462c408a1ce4c6ea2442eb20bd4aef /drivers/mmc/host/ushc.c | |
parent | 4b514fa28760cc8f2b415fb0da72be79ccb5a5fd (diff) |
mmc: ushc: Remove bogus check of usb_submit_urb
Not sure why it was there in the first place, but it's
obviously useless check, so let's remove it.
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/ushc.c')
-rw-r--r-- | drivers/mmc/host/ushc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mmc/host/ushc.c b/drivers/mmc/host/ushc.c index 1d843357422e..81dac17064d7 100644 --- a/drivers/mmc/host/ushc.c +++ b/drivers/mmc/host/ushc.c | |||
@@ -309,8 +309,6 @@ static void ushc_request(struct mmc_host *mmc, struct mmc_request *req) | |||
309 | 309 | ||
310 | /* Submit CSW. */ | 310 | /* Submit CSW. */ |
311 | ret = usb_submit_urb(ushc->csw_urb, GFP_ATOMIC); | 311 | ret = usb_submit_urb(ushc->csw_urb, GFP_ATOMIC); |
312 | if (ret < 0) | ||
313 | goto out; | ||
314 | 312 | ||
315 | out: | 313 | out: |
316 | spin_unlock_irqrestore(&ushc->lock, flags); | 314 | spin_unlock_irqrestore(&ushc->lock, flags); |