openwrt/target/linux/brcm2708/patches-4.19/950-0602-drm-vc4-Fix-build-warning.patch
Álvaro Fernández Rojas 4295485719 brcm2708: add linux 4.19 support
Boot tested on Raspberry Pi B+ (BCM2708) and Raspberry Pi 2 (BCM2709)

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2019-07-14 12:44:14 +02:00

22 lines
722 B
Diff

From 56ac34a516982f51f7a0678f185bcb80f5070a0e 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 602/703] 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
@@ -932,8 +932,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,