Commit 47d173ff authored by Daniel Kurtz's avatar Daniel Kurtz Committed by Inki Dae

drm/exynos: hdmi: remove unnecessary memset

Our resources were just zalloc'ed as part of hdata.
They are already 0.
Signed-off-by: default avatarDaniel Kurtz <djkurtz@chromium.org>
Signed-off-by: default avatarRahul Sharma <Rahul.Sharma@samsung.com>
Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
parent b21a3bf4
......@@ -1946,8 +1946,6 @@ static int hdmi_resources_init(struct hdmi_context *hdata)
DRM_DEBUG_KMS("HDMI resource init\n");
memset(res, 0, sizeof(*res));
/* get clocks, power */
res->hdmi = devm_clk_get(dev, "hdmi");
if (IS_ERR(res->hdmi)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment