OSDN Git Service

staging: speakup: Clean up if conditions
authorSreya Mittal <sreyamittal5@gmail.com>
Tue, 28 Feb 2017 21:08:13 +0000 (02:38 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Mar 2017 08:39:54 +0000 (09:39 +0100)
commit2430125c1ff167cb19029b0790501a2a1a24a326
tree045ee2e0498454143c2bc1d596e426f2e8984656
parent4cb3150a8c2d1f74c67f22ecd71070a0dafcb64f
staging: speakup: Clean up if conditions

Found by checkpatch.pl
Logical conditions are on the next line, useless parentheses present
Clean up the if tests by

* Put logical conditions on the previous line
* Line up the tests

Signed-off-by: Sreya Mittal <sreyamittal5@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/speakup/keyhelp.c