diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2019-08-09 19:50:30 +0200 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2019-08-27 11:10:01 +0200 |
commit | 2340c646e6a5da658e114be2f721ff90853588d4 (patch) | |
tree | df9744d2344e71e8c5d1b75c3e1528bc474313fe /target/linux/brcm2708/patches-4.19/950-0372-vcsm-Remove-set-but-unused-variable.patch | |
parent | 81d0da118694feb874f992093063a2852285d194 (diff) | |
download | upstream-2340c646e6a5da658e114be2f721ff90853588d4.tar.gz upstream-2340c646e6a5da658e114be2f721ff90853588d4.tar.bz2 upstream-2340c646e6a5da658e114be2f721ff90853588d4.zip |
brcm2708: update to latest patches from RPi foundation
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/brcm2708/patches-4.19/950-0372-vcsm-Remove-set-but-unused-variable.patch')
-rw-r--r-- | target/linux/brcm2708/patches-4.19/950-0372-vcsm-Remove-set-but-unused-variable.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/target/linux/brcm2708/patches-4.19/950-0372-vcsm-Remove-set-but-unused-variable.patch b/target/linux/brcm2708/patches-4.19/950-0372-vcsm-Remove-set-but-unused-variable.patch deleted file mode 100644 index 8da8673352..0000000000 --- a/target/linux/brcm2708/patches-4.19/950-0372-vcsm-Remove-set-but-unused-variable.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 43825a3d741e4c4f4c010349ad59a437cc8de9a8 Mon Sep 17 00:00:00 2001 -From: Kieran Bingham <kieran.bingham@ideasonboard.com> -Date: Mon, 18 Mar 2019 17:16:41 +0000 -Subject: [PATCH 372/725] 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 <kieran.bingham@ideasonboard.com> ---- - 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); |