diff options
author | Toomas Soome <tsoome@me.com> | 2017-08-09 15:26:55 +0300 |
---|---|---|
committer | Dan McDonald <danmcd@joyent.com> | 2017-11-19 20:06:19 -0500 |
commit | a375f4369f2774fb4628ce225260143f7e530cec (patch) | |
tree | 2059f506b063e245dc518caa204585665ab484a6 | |
parent | 8b8be354eac32fe0c94a52f66250bff1b4e646a1 (diff) | |
download | illumos-joyent-a375f4369f2774fb4628ce225260143f7e530cec.tar.gz |
8788 tavor: 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/tavor/tavor_ioctl.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/usr/src/uts/common/io/ib/adapters/tavor/tavor_ioctl.c b/usr/src/uts/common/io/ib/adapters/tavor/tavor_ioctl.c index 53c5c25799..0719ad84e8 100644 --- a/usr/src/uts/common/io/ib/adapters/tavor/tavor_ioctl.c +++ b/usr/src/uts/common/io/ib/adapters/tavor/tavor_ioctl.c @@ -2137,7 +2137,6 @@ tavor_flash_cfi_init(tavor_state_t *state, uint32_t *cfi_info, int *intel_xcmd) uint32_t sector_sz_bytes; uint32_t bit_count; uint8_t cfi_ch_info[TAVOR_CFI_INFO_SIZE]; - uint32_t cfi_dw_info[TAVOR_CFI_INFO_QSIZE]; int i; TAVOR_TNF_ENTER(tavor_flash_cfi_init); @@ -2160,7 +2159,6 @@ tavor_flash_cfi_init(tavor_state_t *state, uint32_t *cfi_info, int *intel_xcmd) /* Read in CFI data */ for (i = 0; i < TAVOR_CFI_INFO_SIZE; i += 4) { data = tavor_flash_read(state, i); - cfi_dw_info[i >> 2] = data; tavor_flash_cfi_byte(cfi_ch_info, data, i); } |