• NeilBrown's avatar
    md: remove unnecessary memset from multipath. · f28f4e27
    NeilBrown authored
    Recent commit bbba809e
    replaced mempool_create_kzalloc_pool with mempool_create_kmalloc_pool
    plus a memset.
    This memset is not needed (and we didn't need kzalloc in the first
    place).
    Ever field of the allocated structure (struct multipath_bh) is
    initialised immediately except retry_list, and memset does not
    initial a list_head anyway.
    
    To remove the memset.
    Signed-off-by: default avatarNeilBrown <neilb@suse.de>
    f28f4e27
multipath.c 14.8 KB