[PATCH] drivers/usb/: Simplify return statements

Karajgaonkar, Saurabh (S.) skarajga at visteon.com
Thu Jul 30 22:06:07 PDT 2015


Sure, I'll do that. Just wanted to know whether I should split the patches and
send them in this same mail thread (may be something like [PATCH 01/04 V2])
or should I start new threads and send them separately to the respective maintainers.

Thanks and Regards,
Saurabh Karajgaonkar

On Thu, Jul 30, 2015 at 11:25:27AM -0500, Felipe Balbi wrote:
> On Thu, Jul 30, 2015 at 01:13:42PM +0000, Karajgaonkar, Saurabh (S.) wrote:
> > From: Saurabh Karajgaonkar <skarajga at visteon.com>
> > 
> > This patch is created using simple_return.cocci coccinelle script.
> > It replaces the redundant instances where variables are assigned
> > return value from functions and then used in return statements.
> > 
> > Signed-off-by: Saurabh Karajgaonkar <skarajga at visteon.com>
> 
> do you mind splitting this per-driver ? That makes it a lot easier for
> different maintainers to take their part. For example, I would take
> drivers/usb/phy/* and drivers/usb/musb/*
> 
> Alan Stern would handle drivers/usb/host/[uoe]hci*.[ch]
> 
> Mathias Nyman, driver/usb/host/xhci*.[ch]
> 
> and so on. Thanks
> 
> -- 
> balbi




More information about the linux-arm-kernel mailing list