drm/vc4: drv: Remove unused variable
Subsystems (3)
PATCH 1/1 drm/vc4: drv: Remove unused variable
The commit dcda7c28bff2 ("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.
--- drivers/gpu/drm/vc4/vc4_drv.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/vc4/vc4_drv.c +0 -1
@@ -307,7 +307,6 @@ static int vc4_drm_bind(struct device *dev)static void vc4_drm_unbind (struct device *dev) {struct drm_device *drm =dev_get_drvdata (dev); -struct vc4_dev *vc4 =to_vc4_dev (drm);drm_dev_unregister (drm);
Signature · 6 lines
2.28.0 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 7 lines · Maxime Ripard
The commit
dcda7c28bff2("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 dcda7c28bff2 ("drm/vc4: kms: Add functions to create the state objects")Reported-by Daniel Vetter <[email protected]>Signed-off-by Maxime Ripard <[email protected]>
Quoted 19 lines
--- drivers/gpu/drm/vc4/vc4_drv.c | 1 - 1 file changed, 1 deletion(-)drivers/gpu/drm/vc4/vc4_drv.c +0
-1@@ -307,7 +307,6 @@ static int vc4_drm_bind(struct device *dev)static void vc4_drm_unbind (struct device *dev) {struct drm_device *drm =dev_get_drvdata (dev); -struct vc4_dev *vc4 =to_vc4_dev (drm);drm_dev_unregister (drm);Signature · 1 line
2.28.0
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Maxime Ripard
AppliedQuoted 10 lines · Daniel Vetter
Quoted 7 lines · Maxime Ripard
The commit
dcda7c28bff2("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 dcda7c28bff2 ("drm/vc4: kms: Add functions to create the state objects")Reported-by Daniel Vetter <[email protected]>Signed-off-by Maxime Ripard <[email protected]>Reviewed-by Daniel Vetter <[email protected]>
Applied, thanks!
Maxime
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel