1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-03-09 15:40:20 +00:00

RPI kernel 4.19 support

This commit is contained in:
Ycarus 2019-04-22 17:10:09 +02:00
parent e79d4c1771
commit e253715ce5
432 changed files with 335303 additions and 0 deletions

View file

@ -0,0 +1,33 @@
From 78c41fe20f9638f6179af06b616ff3a8a01a92fa 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 375/432] 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(-)
diff --git a/drivers/char/broadcom/vc_sm/vc_vchi_sm.c b/drivers/char/broadcom/vc_sm/vc_vchi_sm.c
index f8b909a09adb..ca4ec40bb5fb 100644
--- 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 **handle)
/* 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);
--
2.19.1