9036 zfs: duplicate 'const' declaration specifier

illumos/illumos-gate@f02c28e434

Reviewed by: Yuri Pankov <yuripv@yuripv.net>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Approved by: Dan McDonald <danmcd@joyent.com>
Author: Toomas Soome <tsoome@me.com>
This commit is contained in:
Alexander Motin 2018-02-22 00:48:59 +00:00
parent 0537abbeb5
commit f84197c93c

View File

@ -133,8 +133,8 @@ vdev_indirect_mapping_size(vdev_indirect_mapping_t *vim)
static int
dva_mapping_overlap_compare(const void *v_key, const void *v_array_elem)
{
const uint64_t const *key = v_key;
const vdev_indirect_mapping_entry_phys_t const *array_elem =
const uint64_t *key = v_key;
const vdev_indirect_mapping_entry_phys_t *array_elem =
v_array_elem;
uint64_t src_offset = DVA_MAPPING_GET_SRC_OFFSET(array_elem);