target: cleanup some boolean tests
authorChristophe Vu-Brugier <cvubrugier@yahoo.fr>
Fri, 6 Jun 2014 15:15:16 +0000 (17:15 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 6 Jun 2014 21:21:01 +0000 (14:21 -0700)
commit0bcc297e2b45c12baf735e1dc1f163e71ea55e16
treef3625d73c00b16294fdb88beda193db41c081420
parent9aff64e13f3678015c4a08a4fbf320b3a65b5cf1
target: cleanup some boolean tests

Convert "x == true" to "x" and "x == false" to "!x".

Signed-off-by: Christophe Vu-Brugier <cvubrugier@yahoo.fr>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/iscsi_target.c
drivers/target/iscsi/iscsi_target_login.c
drivers/target/iscsi/iscsi_target_nego.c
drivers/target/iscsi/iscsi_target_parameters.c
drivers/target/iscsi/iscsi_target_tpg.c
drivers/target/target_core_transport.c
drivers/target/target_core_xcopy.c