summaryrefslogtreecommitdiff
path: root/drivers/target/iscsi/iscsi_target_tpg.c
diff options
context:
space:
mode:
authorAndy Grover <agrover@redhat.com>2012-07-13 04:34:54 +0400
committerNicholas Bellinger <nab@linux-iscsi.org>2012-07-17 04:35:22 +0400
commitee1b1b9c3db29643eb82a6b52694555c91af2f97 (patch)
tree3329b526e53a31de1651437fbac6d77115e2a748 /drivers/target/iscsi/iscsi_target_tpg.c
parentaf8772926f019b7bddd7477b8de5f3b0f12bad21 (diff)
downloadlinux-ee1b1b9c3db29643eb82a6b52694555c91af2f97.tar.xz
target: Remove unneeded double parentheses
Signed-off-by: Andy Grover <agrover@redhat.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/iscsi/iscsi_target_tpg.c')
-rw-r--r--drivers/target/iscsi/iscsi_target_tpg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/target/iscsi/iscsi_target_tpg.c b/drivers/target/iscsi/iscsi_target_tpg.c
index 879d8d0fa3fe..142989598aea 100644
--- a/drivers/target/iscsi/iscsi_target_tpg.c
+++ b/drivers/target/iscsi/iscsi_target_tpg.c
@@ -593,7 +593,7 @@ int iscsit_ta_authentication(struct iscsi_portal_group *tpg, u32 authentication)
} else {
snprintf(buf1, sizeof(buf1), "%s", param->value);
none = strstr(buf1, NONE);
- if ((none))
+ if (none)
goto out;
strncat(buf1, ",", strlen(","));
strncat(buf1, NONE, strlen(NONE));