sfxge: cleanup: remove set but not used trailer variable

Required to build with -Werror=unused-but-set-variable.

Sponsored by:   Solarflare Communications, Inc.
MFC after:      2 days
This commit is contained in:
arybchik 2015-12-05 08:26:16 +00:00
parent 4e1a8e2083
commit a310ab3e26

View File

@ -853,7 +853,6 @@ hunt_nvram_buf_segment_size(
efx_rc_t rc;
tlv_cursor_t cursor;
struct tlv_partition_header *header;
struct tlv_partition_trailer *trailer;
uint32_t cksum;
int pos;
uint32_t *end_tag_position;
@ -883,7 +882,6 @@ hunt_nvram_buf_segment_size(
rc = EINVAL;
goto fail4;
}
trailer = (struct tlv_partition_trailer *)tlv_item(&cursor);
if ((rc = tlv_advance(&cursor)) != 0) {
rc = EINVAL;