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