]> git.karo-electronics.de Git - linux-beck.git/commit
stating: gdm724x: remove explicit NULL comparison
authorIoana Ciornei <ciorneiioana@gmail.com>
Sun, 18 Oct 2015 12:51:49 +0000 (15:51 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Oct 2015 02:02:42 +0000 (19:02 -0700)
commitb6f6fd8a871cebc8085719c08ea489d1d98bb21e
tree399a69eb2045b0eb4eaba39bf56f0b9ebdb8c2f7
parenta4785ef8102390fa7e0e8865efd44036b7337e22
stating: gdm724x: remove explicit NULL comparison

This patch converts explicit NULL comparison to its shorter
equivalent form.
Done with coccinelle semantic patch:

@@
expression e;
@@

- e == NULL
+ !e

Signed-off-by: Ioana Ciornei <ciorneiioana@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gdm724x/gdm_lte.c
drivers/staging/gdm724x/gdm_mux.c
drivers/staging/gdm724x/gdm_tty.c
drivers/staging/gdm724x/gdm_usb.c
drivers/staging/gdm724x/netlink_k.c