linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/9] usb: Simplify return statements
@ 2015-08-04 14:01 Karajgaonkar, Saurabh (S.)
  2015-08-04 14:01 ` [PATCH v2 1/9] usb: phy: phy-mxs-usb: Simplify return statement Karajgaonkar, Saurabh (S.)
                   ` (8 more replies)
  0 siblings, 9 replies; 12+ messages in thread
From: Karajgaonkar, Saurabh (S.) @ 2015-08-04 14:01 UTC (permalink / raw)
  To: srinivas.kandagatla, maxime.coquelin, patrice.chotard, stern,
	gregkh, mathias.nyman, balbi, johan, sergei.shtylyov,
	Julia.Lawall, khilman, rafael.j.wysocki, pmladek, wsa
  Cc: linux-arm-kernel, kernel, linux-usb, linux-kernel

From: Saurabh Karajgaonkar <skarajga@visteon.com>

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 <patrice.chotard@st.com>

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(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-08-17 11:16 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-04 14:01 [PATCH v2 0/9] usb: Simplify return statements Karajgaonkar, Saurabh (S.)
2015-08-04 14:01 ` [PATCH v2 1/9] usb: phy: phy-mxs-usb: Simplify return statement Karajgaonkar, Saurabh (S.)
2015-08-04 14:02 ` [PATCH v2 2/9] usb: phy: phy-keystone: " Karajgaonkar, Saurabh (S.)
2015-08-04 14:02 ` [PATCH v2 3/9] usb: musb: musb_dsps: " Karajgaonkar, Saurabh (S.)
2015-08-04 14:02 ` [PATCH v2 4/9] usb: host: ehci-st: " Karajgaonkar, Saurabh (S.)
2015-08-10  7:44   ` Maxime Coquelin
2015-08-04 14:03 ` [PATCH v2 5/9] usb: host: oxu210hp-hcd: " Karajgaonkar, Saurabh (S.)
2015-08-04 14:03 ` [PATCH v2 6/9] usb: host: u132-hcd: " Karajgaonkar, Saurabh (S.)
2015-08-04 14:04 ` [PATCH v2 7/9] usb: host: xhci: " Karajgaonkar, Saurabh (S.)
2015-08-04 14:04 ` [PATCH v2 8/9] usb: serial: mxuport: " Karajgaonkar, Saurabh (S.)
2015-08-17 11:16   ` Johan Hovold
2015-08-04 14:05 ` [PATCH v2 9/9] usb: misc: ftdi-elan: " Karajgaonkar, Saurabh (S.)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).