openwrt/target/linux/bcm27xx/patches-5.4/950-0233-drm-vc4-Fix-build-warning.patch
Álvaro Fernández Rojas f07e572f64 bcm27xx: import latest patches from the RPi foundation
bcm2708: boot tested on RPi B+ v1.2
bcm2709: boot tested on RPi 3B v1.2 and RPi 4B v1.1 4G
bcm2710: boot tested on RPi 3B v1.2
bcm2711: boot tested on RPi 4B v1.1 4G

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-02-18 23:42:32 +01:00

22 lines
714 B
Diff

From a06b826c199e6de39d4e91e41e8347a5629bb54a Mon Sep 17 00:00:00 2001
From: Dave Stevenson <dave.stevenson@raspberrypi.org>
Date: Fri, 5 Apr 2019 17:21:56 +0100
Subject: [PATCH] drm: vc4: Fix build warning
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
---
drivers/gpu/drm/vc4/vc4_firmware_kms.c | 2 --
1 file changed, 2 deletions(-)
--- a/drivers/gpu/drm/vc4/vc4_firmware_kms.c
+++ b/drivers/gpu/drm/vc4/vc4_firmware_kms.c
@@ -933,8 +933,6 @@ static int vc4_fkms_create_screen(struct
return 0;
-err_destroy_connector:
- vc4_fkms_connector_destroy(vc4_crtc->connector);
err_destroy_encoder:
vc4_fkms_encoder_destroy(vc4_crtc->encoder);
list_for_each_entry_safe(destroy_plane, temp,