Skip to content

Commit 077aa5c

Browse files
committed
drm/vc4: drv: Remove unused variable
The commit dcda7c2 ("drm/vc4: kms: Add functions to create the state objects") removed the last users of the vc4 variable, but didn't remove that variable resulting in a warning. Fixes: dcda7c2 ("drm/vc4: kms: Add functions to create the state objects") Reported-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Maxime Ripard <maxime@cerno.tech> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20201102162908.1436567-1-maxime@cerno.tech
1 parent 876b15d commit 077aa5c

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/gpu/drm/vc4/vc4_drv.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,6 @@ static int vc4_drm_bind(struct device *dev)
319319
static void vc4_drm_unbind(struct device *dev)
320320
{
321321
struct drm_device *drm = dev_get_drvdata(dev);
322-
struct vc4_dev *vc4 = to_vc4_dev(drm);
323322

324323
drm_dev_unregister(drm);
325324

0 commit comments

Comments
 (0)