md-cluster: remove useless memset from gather_all_resync_info
authorGuoqing Jiang <gqjiang@suse.com>
Fri, 24 Feb 2017 03:15:13 +0000 (11:15 +0800)
committerShaohua Li <shli@fb.com>
Thu, 9 Mar 2017 17:02:06 +0000 (09:02 -0800)
commit75df023f4f2188c21181996e28234fef9351ef45
treeb888a2f77c192af1815916148be40eeb75e7b7c6
parent9c8043f337f14d1743006dfc59c03e80a42e3884
md-cluster: remove useless memset from gather_all_resync_info

This memset is not needed.  The lvb is already zeroed because
it was recently allocated by lockres_init, which uses kzalloc(),
and read_resync_info() doesn't need it to be zero anyway.

Reviewed-by: NeilBrown <neilb@suse.com>
Signed-off-by: Guoqing Jiang <gqjiang@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/md-cluster.c