Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/msm/dsi_pll_10nm: Remove impossible check

While I'm in here, cut this out, pdev can't be NULL

Reviewed-by: Rob Clark <robdclark@chromium.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190617201301.133275-2-sean@poorly.run

-3
-3
drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c
··· 818 818 struct msm_dsi_pll *pll; 819 819 int ret; 820 820 821 - if (!pdev) 822 - return ERR_PTR(-ENODEV); 823 - 824 821 pll_10nm = devm_kzalloc(&pdev->dev, sizeof(*pll_10nm), GFP_KERNEL); 825 822 if (!pll_10nm) 826 823 return ERR_PTR(-ENOMEM);