From 42954857190b9df16d9d873ecc7f6cc38e013e44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Date: Tue, 9 Jul 2019 20:32:28 +0200 Subject: brcm2708: add linux 4.19 support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Boot tested on Raspberry Pi B+ (BCM2708) and Raspberry Pi 2 (BCM2709) Signed-off-by: Álvaro Fernández Rojas --- ...-0375-vcsm-Remove-set-but-unused-variable.patch | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 target/linux/brcm2708/patches-4.19/950-0375-vcsm-Remove-set-but-unused-variable.patch (limited to 'target/linux/brcm2708/patches-4.19/950-0375-vcsm-Remove-set-but-unused-variable.patch') diff --git a/target/linux/brcm2708/patches-4.19/950-0375-vcsm-Remove-set-but-unused-variable.patch b/target/linux/brcm2708/patches-4.19/950-0375-vcsm-Remove-set-but-unused-variable.patch new file mode 100644 index 0000000000..cce2facc4b --- /dev/null +++ b/target/linux/brcm2708/patches-4.19/950-0375-vcsm-Remove-set-but-unused-variable.patch @@ -0,0 +1,28 @@ +From ea8f08311188a54cafb0ad39702c173ae7c2a3e3 Mon Sep 17 00:00:00 2001 +From: Kieran Bingham +Date: Mon, 18 Mar 2019 17:16:41 +0000 +Subject: [PATCH 375/703] vcsm: Remove set but unused variable + +The 'success' variable is set by the call to vchi_service_close() but never checked. +Remove it, keeping the call in place. + +Signed-off-by: Kieran Bingham +--- + drivers/char/broadcom/vc_sm/vc_vchi_sm.c | 4 +--- + 1 file changed, 1 insertion(+), 3 deletions(-) + +--- a/drivers/char/broadcom/vc_sm/vc_vchi_sm.c ++++ b/drivers/char/broadcom/vc_sm/vc_vchi_sm.c +@@ -361,11 +361,9 @@ int vc_vchi_sm_stop(struct sm_instance * + + /* Close all VCHI service connections */ + for (i = 0; i < instance->num_connections; i++) { +- int32_t success; +- + vchi_service_use(instance->vchi_handle[i]); + +- success = vchi_service_close(instance->vchi_handle[i]); ++ vchi_service_close(instance->vchi_handle[i]); + } + + kfree(instance); -- cgit v1.2.3