]> git.baikalelectronics.ru Git - kernel.git/commit
staging: speakup: kobjects: Delete comparison
authorTamara Diaconita <diaconitatamara@gmail.com>
Tue, 7 Mar 2017 16:38:59 +0000 (18:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Mar 2017 13:29:40 +0000 (14:29 +0100)
commit9c45e655f71bc92795c4c712390552cd54fe975e
treef000c9b06f6800ca84e9db34a6a558934e19959f
parent7ade67d2787fb84afb8a55059e5ed00baab9f8f4
staging: speakup: kobjects: Delete comparison

Comparison to NULL is not necessary because 'if' statement tests if
'synth' is NULL anyway.

Delete comparison in 'if' structure to fix the checkpath.pl issue :
CHECK: Comparison to NULL could be written 'synth'.

Signed-off-by: Tamara Diaconita <diaconita.tamara@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/speakup/kobjects.c