mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 10:08:59 +00:00
7d7aa2fd92
This change makes the names of Broadcom targets consistent by using the common notation based on SoC/CPU ID (which is used internally anyway), bcmXXXX instead of brcmXXXX. This is even used for target TITLE in make menuconfig already, only the short target name used brcm so far. Despite, since subtargets range from bcm2708 to bcm2711, it seems appropriate to use bcm27xx instead of bcm2708 (again, as already done for BOARDNAME). This also renames the packages brcm2708-userland and brcm2708-gpu-fw. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Acked-by: Álvaro Fernández Rojas <noltari@gmail.com>
29 lines
968 B
Diff
29 lines
968 B
Diff
From 5a58b2bb907d57dc2b1cc2619bd5f1d948509e3e 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] 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);
|