[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20201026190457.1428516-1-trix@redhat.com>
Date: Mon, 26 Oct 2020 12:04:57 -0700
From: trix@...hat.com
To: stern@...land.harvard.edu, gregkh@...uxfoundation.org
Cc: linux-usb@...r.kernel.org, usb-storage@...ts.one-eyed-alien.net,
linux-kernel@...r.kernel.org, Tom Rix <trix@...hat.com>
Subject: [PATCH v2] usb: storage: freecom: remove unneeded break
From: Tom Rix <trix@...hat.com>
A break is not needed if it is preceded by a return.
Signed-off-by: Tom Rix <trix@...hat.com>
---
v2 : split from original large patch
---
drivers/usb/storage/freecom.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/usb/storage/freecom.c b/drivers/usb/storage/freecom.c
index 3d5f7d0ff0f1..2b098b55c4cb 100644
--- a/drivers/usb/storage/freecom.c
+++ b/drivers/usb/storage/freecom.c
@@ -431,7 +431,6 @@ static int freecom_transport(struct scsi_cmnd *srb, struct us_data *us)
us->srb->sc_data_direction);
/* Return fail, SCSI seems to handle this better. */
return USB_STOR_TRANSPORT_FAILED;
- break;
}
return USB_STOR_TRANSPORT_GOOD;
--
2.18.1
Powered by blists - more mailing lists