mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
drm/vc4: drv: Remove unused variable
The commitdcda7c28bf
("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:dcda7c28bf
("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
This commit is contained in:
parent
876b15d2c8
commit
077aa5c8dd
1 changed files with 0 additions and 1 deletions
|
@ -319,7 +319,6 @@ unbind_all:
|
||||||
static void vc4_drm_unbind(struct device *dev)
|
static void vc4_drm_unbind(struct device *dev)
|
||||||
{
|
{
|
||||||
struct drm_device *drm = dev_get_drvdata(dev);
|
struct drm_device *drm = dev_get_drvdata(dev);
|
||||||
struct vc4_dev *vc4 = to_vc4_dev(drm);
|
|
||||||
|
|
||||||
drm_dev_unregister(drm);
|
drm_dev_unregister(drm);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue