diff options
author | Toomas Soome <tsoome@me.com> | 2017-08-09 15:29:05 +0300 |
---|---|---|
committer | Dan McDonald <danmcd@joyent.com> | 2017-11-19 20:06:02 -0500 |
commit | 8b8be354eac32fe0c94a52f66250bff1b4e646a1 (patch) | |
tree | 06e08575deb12f659c6499731d8d22af730f75f1 | |
parent | a3b2868063897ff0083dea538f55f9873eec981f (diff) | |
download | illumos-joyent-8b8be354eac32fe0c94a52f66250bff1b4e646a1.tar.gz |
8787 hermon: variable 'cfi_dw_info' set but not used
Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r-- | usr/src/uts/common/io/ib/adapters/hermon/hermon_ioctl.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/usr/src/uts/common/io/ib/adapters/hermon/hermon_ioctl.c b/usr/src/uts/common/io/ib/adapters/hermon/hermon_ioctl.c index f372d7b008..f543ec59fe 100644 --- a/usr/src/uts/common/io/ib/adapters/hermon/hermon_ioctl.c +++ b/usr/src/uts/common/io/ib/adapters/hermon/hermon_ioctl.c @@ -2476,7 +2476,6 @@ hermon_flash_cfi_init(hermon_state_t *state, uint32_t *cfi_info, uint32_t sector_sz_bytes; uint32_t bit_count; uint8_t cfi_ch_info[HERMON_CFI_INFO_SIZE]; - uint32_t cfi_dw_info[HERMON_CFI_INFO_QSIZE]; int i; int status; @@ -2529,7 +2528,6 @@ hermon_flash_cfi_init(hermon_state_t *state, uint32_t *cfi_info, if (status != 0) { return (status); } - cfi_dw_info[i >> 2] = data; hermon_flash_cfi_byte(cfi_ch_info, data, i); } |