Skip to contentSkip to conversation

drm/nouveau: Remove unused variable

PATCH In review Zack Rusin 2 participants 2 messages Oct 21, 2022

Subsystems (3)
lore
Share & tools
lore

Zack Rusin

author
#0 lore raw

PATCH 1/1 drm/nouveau: Remove unused variable

From: Zack Rusin <[email protected]>

Trivial removal of an unused variable. Not sure how it snuck by me and build bots in the 7c99616e3fe7.

Fixes 7c99616e3fe7 ("drm: Remove drm_mode_config::fb_base")
Cc Laurent Pinchart <[email protected]>
Cc Thomas Zimmermann <[email protected]>
Cc Christian König <[email protected]>
Cc Ben Skeggs <[email protected]>
Cc Karol Herbst <[email protected]>
Cc Lyude Paul <[email protected]>
---
 drivers/gpu/drm/nouveau/nouveau_display.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/nouveau/nouveau_display.c +0 -1
index 928fdfa8e8e5..2e97186090c8 100644
@@ -659,7 +659,6 @@ int
 nouveau_display_create(struct drm_device *dev)
 {
 	struct nouveau_drm *drm = nouveau_drm(dev);
-	struct nvkm_device *device = nvxx_device(&drm->client.device);
 	struct nouveau_display *disp;
 	int ret;
 
Signature · 1 line
2.34.1
maintainer Reviewed-by on v1 1/1
#1 lore raw

Will push to drm-misc-next as well

Quoted 29 lines · Zack Rusin

From: Zack Rusin <[email protected]>

Trivial removal of an unused variable. Not sure how it snuck by me and build bots in the 7c99616e3fe7.

Fixes 7c99616e3fe7 ("drm: Remove drm_mode_config::fb_base")
Cc Laurent Pinchart <[email protected]>
Cc Thomas Zimmermann <[email protected]>
Cc Christian König <[email protected]>
Cc Ben Skeggs <[email protected]>
Cc Karol Herbst <[email protected]>
Cc Lyude Paul <[email protected]>
---
 drivers/gpu/drm/nouveau/nouveau_display.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/nouveau/nouveau_display.c +0 -1
index 928fdfa8e8e5..2e97186090c8 100644
@@ -659,7 +659,6 @@ int
 nouveau_display_create(struct drm_device *dev)
 {
 	struct nouveau_drm *drm = nouveau_drm(dev);
-	struct nvkm_device *device = nvxx_device(&drm->client.device);
 	struct nouveau_display *disp;
 	int ret;
 
Signature · 3 lines
Cheers,
 Lyude Paul (she/her)
 Software Engineer at Red Hat