]> git.karo-electronics.de Git - linux-beck.git/commit
staging: speakup: Remove unnecessary test in if condition
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>
Wed, 24 Feb 2016 15:24:28 +0000 (20:54 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 5 Mar 2016 22:48:04 +0000 (14:48 -0800)
commitd6e29ca1f6cf566f67012dce269b5f9ba72a1659
tree38b90be386580dc896be623a1cd69b07f992e211
parentcd95ed989a5dee1bdbbdfe46659d274026f31bb4
staging: speakup: Remove unnecessary test in if condition

Remove unnecessary test on synth->alive since it has already been
tested previously.

This fixes the following smatch warning:
drivers/staging/speakup/synth.c:182 spk_synth_is_alive_restart() warn:
we tested 'synth->alive' before and it was 'false'

Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/speakup/synth.c