Braces {} are not necessary for a single statement blocks,
so two braces are removed.
Signed-off-by: Jianuo Kuang <
u2021...@hust.edu.cn>
---
drivers/usb/storage/transport.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/usb/storage/transport.c b/drivers/usb/storage/transport.c
index 7449e379077a..50d047c28197 100644
--- a/drivers/usb/storage/transport.c
+++ b/drivers/usb/storage/transport.c
@@ -977,14 +977,12 @@ int usb_stor_CB_transport(struct scsi_cmnd *srb, struct us_data *us)
result);
/* if we stalled the command, it means command failed */
- if (result == USB_STOR_XFER_STALLED) {
+ if (result == USB_STOR_XFER_STALLED)
return USB_STOR_TRANSPORT_FAILED;
- }
/* Uh oh... serious problem here */
- if (result != USB_STOR_XFER_GOOD) {
+ if (result != USB_STOR_XFER_GOOD)
return USB_STOR_TRANSPORT_ERROR;
- }
/* DATA STAGE */
/* transfer the data payload for this command, if one exists*/
--
2.25.1