1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00

is_full_id is set to 0 and then not used. remove it.

This commit is contained in:
Warner Losh 2014-08-08 11:46:45 +00:00
parent effc6a3593
commit b7cdc564ac
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=269709

View File

@ -6064,13 +6064,12 @@ scsi_parse_transportid_iscsi(char *id_str, struct scsi_transportid_header **hdr,
char *error_str, int error_str_len)
{
size_t id_len, sep_len, id_size, name_len;
int is_full_id, retval;
int retval;
unsigned int i, sep_pos, sep_found;
const char *sep_template = ",i,0x";
const char *iqn_prefix = "iqn.";
struct scsi_transportid_iscsi_device *iscsi;
is_full_id = 0;
retval = 0;
sep_found = 0;