diff options
Diffstat (limited to 'drivers/scsi')
| -rw-r--r-- | drivers/scsi/csiostor/csio_lnode.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/csiostor/csio_lnode.c b/drivers/scsi/csiostor/csio_lnode.c index 5322c81cc702..ffe9be04dc39 100644 --- a/drivers/scsi/csiostor/csio_lnode.c +++ b/drivers/scsi/csiostor/csio_lnode.c | |||
| @@ -245,7 +245,6 @@ csio_append_attrib(uint8_t **ptr, uint16_t type, uint8_t *val, uint16_t len) | |||
| 245 | len += 4; /* includes attribute type and length */ | 245 | len += 4; /* includes attribute type and length */ |
| 246 | len = (len + 3) & ~3; /* should be multiple of 4 bytes */ | 246 | len = (len + 3) & ~3; /* should be multiple of 4 bytes */ |
| 247 | ae->len = htons(len); | 247 | ae->len = htons(len); |
| 248 | memset(ae->value, 0, len - 4); | ||
| 249 | memcpy(ae->value, val, len); | 248 | memcpy(ae->value, val, len); |
| 250 | *ptr += len; | 249 | *ptr += len; |
| 251 | } | 250 | } |
