Commit 129d21ce authored by Shawn Lin's avatar Shawn Lin Committed by Ulf Hansson
Browse files

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: default avatarShawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 4b514fa2
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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);