From 8b8be354eac32fe0c94a52f66250bff1b4e646a1 Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Wed, 9 Aug 2017 15:29:05 +0300 Subject: [PATCH] 8787 hermon: variable 'cfi_dw_info' set but not used Reviewed by: Andrew Stormont Reviewed by: Robert Mustacchi Approved by: Dan McDonald --- usr/src/uts/common/io/ib/adapters/hermon/hermon_ioctl.c | 2 -- 1 file changed, 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); } -- 2.11.4.GIT