diff options
author | Shraddha Barke | 2015-09-11 08:02:27 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2015-09-13 03:25:00 +0200 |
commit | 114885e08c0e7d55775373f5cea8fa3c0b1ef1e8 (patch) | |
tree | b6c02f0d833b75dced17208a8674a461a24a1742 /drivers/staging/speakup/kobjects.c | |
parent | Staging: speakup: devsynth.c: Remove explicit NULL comparison (diff) | |
download | kernel-qcow2-linux-114885e08c0e7d55775373f5cea8fa3c0b1ef1e8.tar.gz kernel-qcow2-linux-114885e08c0e7d55775373f5cea8fa3c0b1ef1e8.tar.xz kernel-qcow2-linux-114885e08c0e7d55775373f5cea8fa3c0b1ef1e8.zip |
Staging: speakup: serialio.c: Remove explicit NULL comparison
Remove explicit NULL comparison and write it in its simpler form.
Replacement done with coccinelle:
@replace_rule@
expression e;
@@
-e == NULL
+ !e
Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/speakup/kobjects.c')
0 files changed, 0 insertions, 0 deletions