blob: 9600d2b31cc48bc7cd2b850f224a52882e610abb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
From e513a9bd4cd878b982ee8ac9dd6942e550c77307 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Sun, 17 Apr 2016 04:44:47 -0700
Subject: [PATCH 245/304] vmcs: Remove unused sm_cache_map_vector definition
(#1411)
The code using it also ifdef'ed with 0, anyyd gcc 6
complains
error: 'sm_cache_map_vector' defined but not used
The code using it also ifdef'ed out
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
drivers/char/broadcom/vc_sm/vmcs_sm.c | 2 ++
1 file changed, 2 insertions(+)
--- a/drivers/char/broadcom/vc_sm/vmcs_sm.c
+++ b/drivers/char/broadcom/vc_sm/vmcs_sm.c
@@ -197,12 +197,14 @@ struct SM_STATE_T {
static struct SM_STATE_T *sm_state;
static int sm_inited;
+#if 0
static const char *const sm_cache_map_vector[] = {
"(null)",
"host",
"videocore",
"host+videocore",
};
+#endif
/* ---- Private Function Prototypes -------------------------------------- */
|