Re: [PATCH 1/1] staging: i4l: pcbit: Remove explicit NULL comparison

2016-08-21 Thread Greg KH
On Tue, Aug 02, 2016 at 05:13:14PM +0530, shyam saini wrote: > Remove the explicit NULL comparison and rewrite in a compact form using > Coccinelle > > Signed-off-by: shyam saini > --- > drivers/staging/i4l/pcbit/callbacks.c | 4 ++-- > drivers/staging/i4l/pcbit/capi.c

[PATCH 1/1] staging: i4l: pcbit: Remove explicit NULL comparison

2016-08-02 Thread shyam saini
Remove the explicit NULL comparison and rewrite in a compact form using Coccinelle Signed-off-by: shyam saini --- drivers/staging/i4l/pcbit/callbacks.c | 4 ++-- drivers/staging/i4l/pcbit/capi.c | 18 +- drivers/staging/i4l/pcbit/drv.c | 14