Skip to contentSkip to conversation

soc: bcm: brcmstb: remove unused variable 'brcmstb_machine_match'

PATCH Applied Jiapeng Chong 2 participants 2 messages Mar 31, 2021 Broadcom BCM7XXX Arm architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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].

---
 drivers/soc/bcm/brcmstb/common.c | 5 -----
 1 file changed, 5 deletions(-)
drivers/soc/bcm/brcmstb/common.c +0 -5
index e87dfc6..2a01088 100644
@@ -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;
Signature · 1 line
1.8.3.1