target: Remove unneeded double parentheses
Signed-off-by: Andy Grover <agrover@redhat.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
This commit is contained in:
@@ -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));
|
||||
|
Reference in New Issue
Block a user