drm/exynos: hdmi: remove unnecessary memset
Our resources were just zalloc'ed as part of hdata. They are already 0. Signed-off-by: Daniel Kurtz <djkurtz@chromium.org> Signed-off-by: Rahul Sharma <Rahul.Sharma@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
This commit is contained in:
parent
b21a3bf441
commit
47d173ffb2
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue