From caa5a1eeec0c5240036739bb845321859b500075 Mon Sep 17 00:00:00 2001 From: bananafunction Date: Wed, 29 Mar 2023 19:37:40 +0200 Subject: [PATCH] Revert "drm/msm/hdmi: Add missing check for alloc_ordered_workqueue" This reverts commit 49a0c9dbf9d7a585de5c43c063d18754a10ee362. Change-Id: 7487b5dceae0b11330f04aa1699a9f3efa8b2d45 Signed-off-by: TogoFire --- drivers/gpu/drm/msm/hdmi/hdmi.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/msm/hdmi/hdmi.c b/drivers/gpu/drm/msm/hdmi/hdmi.c index 9deb76a8bd56..17f7f2af4909 100644 --- a/drivers/gpu/drm/msm/hdmi/hdmi.c +++ b/drivers/gpu/drm/msm/hdmi/hdmi.c @@ -244,10 +244,6 @@ static struct hdmi *msm_hdmi_init(struct platform_device *pdev) } hdmi->workq = alloc_ordered_workqueue("msm_hdmi", 0); - if (!hdmi->workq) { - ret = -ENOMEM; - goto fail; - } hdmi->i2c = msm_hdmi_i2c_init(hdmi); if (IS_ERR(hdmi->i2c)) {