diff options
author | Maxime Ripard <maxime@cerno.tech> | 2020-11-02 17:29:08 +0100 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2020-11-03 10:11:05 +0100 |
commit | 077aa5c8dd6e2b9c721e8cb3d98a3aa8ecb0e2ef (patch) | |
tree | 133771ae18ea724ee6f4f03e65ddd65b026c14ce /drivers | |
parent | 876b15d2c88d8c005f1aebeaa23f1e448d834757 (diff) | |
download | linux-stable-077aa5c8dd6e2b9c721e8cb3d98a3aa8ecb0e2ef.tar.gz linux-stable-077aa5c8dd6e2b9c721e8cb3d98a3aa8ecb0e2ef.tar.bz2 linux-stable-077aa5c8dd6e2b9c721e8cb3d98a3aa8ecb0e2ef.zip |
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.
Fixes: dcda7c28bff2 ("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
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/vc4/vc4_drv.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/vc4/vc4_drv.c b/drivers/gpu/drm/vc4/vc4_drv.c index c0185da72fd0..839610f8092a 100644 --- a/drivers/gpu/drm/vc4/vc4_drv.c +++ b/drivers/gpu/drm/vc4/vc4_drv.c @@ -319,7 +319,6 @@ unbind_all: 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); |