summaryrefslogtreecommitdiff
path: root/drivers/soc/bcm
diff options
context:
space:
mode:
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>2021-03-31 11:39:59 +0300
committerFlorian Fainelli <f.fainelli@gmail.com>2021-05-11 00:50:36 +0300
commitc1f512182c54dc87efd2f7ac19f16a49ff8bb19e (patch)
tree030d285908e6ff4428b0d5344362fa8a5c38debf /drivers/soc/bcm
parent6efb943b8616ec53a5e444193dccf1af9ad627b5 (diff)
downloadlinux-c1f512182c54dc87efd2f7ac19f16a49ff8bb19e.tar.xz
soc: bcm: brcmstb: remove unused variable 'brcmstb_machine_match'
Fix the following clang warning: drivers/soc/bcm/brcmstb/common.c:17:34: warning: unused variable 'brcmstb_machine_match' [-Wunused-const-variable]. Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'drivers/soc/bcm')
-rw-r--r--drivers/soc/bcm/brcmstb/common.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/soc/bcm/brcmstb/common.c b/drivers/soc/bcm/brcmstb/common.c
index e87dfc6660f3..2a010881f4b6 100644
--- a/drivers/soc/bcm/brcmstb/common.c
+++ b/drivers/soc/bcm/brcmstb/common.c
@@ -14,11 +14,6 @@
static u32 family_id;
static u32 product_id;
-static const struct of_device_id brcmstb_machine_match[] = {
- { .compatible = "brcm,brcmstb", },
- { }
-};
-
u32 brcmstb_get_family_id(void)
{
return family_id;