On Sun, Jul 26, 2015 at 11:03:40PM +0530, Shraddha Barke wrote: > This patch compresses two lines into a single line if immediate return statement > is found. Also,remove variable rc as it is no longer needed. > It is done using tool Coccinelle. And semantic patch used for this is as follows: > > @@ > expression ret; > identifier f; > @@ > > -ret = > +return > f(...); > -return ret; > --- You have missed the Signed-off-by: regards sudip _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel