]> 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)
commit9d467c007f70f0ff7025047d5d2526a3c1724c48
treef000c9b06f6800ca84e9db34a6a558934e19959f
parentd94720fe19cb4754162bd578d0d4bb37f6dfaede
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