projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b514fa
)
mmc: ushc: Remove bogus check of usb_submit_urb
author
Shawn Lin
<shawn.lin@rock-chips.com>
Sun, 25 Feb 2018 01:37:36 +0000
(09:37 +0800)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Mon, 5 Mar 2018 12:04:30 +0000
(13:04 +0100)
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>
drivers/mmc/host/ushc.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/ushc.c
b/drivers/mmc/host/ushc.c
index
1d84335
..
81dac17
100644
(file)
--- 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)
/* Submit CSW. */
ret = usb_submit_urb(ushc->csw_urb, GFP_ATOMIC);
- if (ret < 0)
- goto out;
out:
spin_unlock_irqrestore(&ushc->lock, flags);