[PATCH -next] drm/pl111: Fix unused variable warning
Linus Walleij
linus.walleij at linaro.org
Mon Aug 5 16:38:33 UTC 2019
On Mon, Aug 5, 2019 at 11:16 AM Shaokun Zhang
<zhangshaokun at hisilicon.com> wrote:
> vers/gpu/drm/pl111/pl111_display.c: In function ‘pl111_display_init’:
> drivers/gpu/drm/pl111/pl111_display.c:551:17: warning: unused variable
> ‘dev’ [-Wunused-variable]
> struct device *dev = drm->dev;
> ^
> Fixes: d6781e490179 ("drm/pl111: Drop special pads config check")
> Cc: Linus Walleij <linus.walleij at linaro.org>
> Cc: Eric Anholt <eric at anholt.net>
> Cc: David Airlie <airlied at linux.ie>
> Cc: Daniel Vetter <daniel at ffwll.ch>
> Signed-off-by: Shaokun Zhang <zhangshaokun at hisilicon.com>
I applied it, thanks a lot Sahokun!
Yours,
Linus Walleij
More information about the dri-devel
mailing list