of: remove redundant memset in overlay
authorXuYing <xuyiping@hisilicon.com>
Sat, 7 Jan 2017 11:04:27 +0000 (19:04 +0800)
committerRob Herring <robh@kernel.org>
Mon, 9 Jan 2017 20:21:23 +0000 (14:21 -0600)
commit261c73f3f6ce0f64ad7da46fd69600f57eec1c11
treefc80c6451ec179885b78be0415f6f1f973e187ec
parent2956b338b729dcce90f9fa5e799df71908f09701
of: remove redundant memset in overlay

memset in of_build_overlay_info is redundant, the ovinfo has been
zeroed in of_fill_overlay_info when error.

Signed-off-by: YiPing Xu <xuyiping@hisilicon.com>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/overlay.c