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