Skip to content

Commit

Permalink
mmc: ushc: Remove bogus check of usb_submit_urb
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
  • Loading branch information
shawn1221 authored and storulf committed Mar 5, 2018
1 parent 4b514fa commit 129d21c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/mmc/host/ushc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 129d21c

Please sign in to comment.