usb: Simplify return statements
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest9 patches 2 repliesIn review
- v19 patches 2 repliesSuperseded
Changes in v2 from the cover letter
- corrected indentation issues [Patch 06/09, 08/09, 09/09]
- Patch 04/09 Acked by Patrice Chotard <[email protected]>
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | usb: phy: phy-mxs-usb: Simplify return statementdrivers/ | +1 | 0 replies | |
| 2/9 | usb: phy: phy-keystone: Simplify return statementdrivers/ | +1 | 0 replies | |
| 3/9 | usb: musb: musb_dsps: Simplify return statementdrivers/ | +1 | 0 replies | |
| 4/9 | usb: host: ehci-st: Simplify return statementdrivers/ | +1 | 1 reply | |
| 5/9 | usb: host: oxu210hp-hcd: Simplify return statementdrivers/ | +1 | 0 replies | |
| 6/9 | usb: host: u132-hcd: Simplify return statementdrivers/ | +9 | 0 replies | |
| 7/9 | usb: host: xhci: Simplify return statementdrivers/ | +1 | 0 replies | |
| 8/9 | usb: serial: mxuport: Simplify return statementdrivers/ | +3 | 1 reply | |
| 9/9 | usb: misc: ftdi-elan: Simplify return statementdrivers/ | +2 | 0 replies |
Reviews trailers per patch
1 of 9 patches has a Reviewed-by or Acked-by.
| Patch | Maxime Coquelin |
|---|---|
| 1/9 | |
| 2/9 | |
| 3/9 | |
| 4/9 | A-b |
| 5/9 | |
| 6/9 | |
| 7/9 | |
| 8/9 | |
| 9/9 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/9] usb: Simplify return statements
From: Saurabh Karajgaonkar <[email protected]>
This patch series is created using simple_return.cocci coccinelle script. It replaces the redundant instances where variable is first assigned return value from a function call and then used in return statement, by direct function call in the return statement.
Changes for v2:
- corrected indentation issues [Patch 06/09, 08/09, 09/09]
- Patch 04/09 Acked by Patrice Chotard <[email protected]>
Saurabh Karajgaonkar (9):
usb: phy: phy-mxs-usb: Simplify return statement
usb: phy: phy-keystone: Simplify return statement
usb: musb: musb_dsps: Simplify return statement
usb: host: ehci-st: Simplify return statement
usb: host: oxu210hp-hcd: Simplify return statement
usb: host: u132-hcd: Simplify return statement
usb: host: xhci: Simplify return statement
usb: serial: mxuport: Simplify return statement
usb: misc: ftdi-elan: Simplify return statement
drivers/usb/host/ehci-st.c | 7 +------ drivers/usb/host/oxu210hp-hcd.c | 7 +------ drivers/usb/host/u132-hcd.c | 35 +++++++++-------------------------- drivers/usb/host/xhci.c | 6 +----- drivers/usb/misc/ftdi-elan.c | 12 ++---------- drivers/usb/musb/musb_dsps.c | 6 +----- drivers/usb/phy/phy-keystone.c | 6 +----- drivers/usb/phy/phy-mxs-usb.c | 6 +----- drivers/usb/serial/mxuport.c | 10 +++------- 9 files changed, 20 insertions(+), 75 deletions(-)
Signature · 1 line
1.9.1