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>
This commit is contained in:
parent
4b514fa287
commit
129d21ce15
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue