2016-12-02 10:50:26 +00:00
|
|
|
From 34ae5dd6055af9a01dc15a04e58068a14816fb88 Mon Sep 17 00:00:00 2001
|
2016-04-24 11:03:39 +00:00
|
|
|
From: Khem Raj <raj.khem@gmail.com>
|
|
|
|
Date: Sun, 17 Apr 2016 04:44:47 -0700
|
2016-09-10 12:54:26 +00:00
|
|
|
Subject: [PATCH] vmcs: Remove unused sm_cache_map_vector definition (#1411)
|
2016-04-24 11:03:39 +00:00
|
|
|
|
|
|
|
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 -------------------------------------- */
|
|
|
|
|