diff mbox series

[-next] soc: bcm: brcmstb: Remove unused variable brcmstb_machine_match.

Message ID 20210603024426.1124761-1-liuyongqiang13@huawei.com (mailing list archive)
State New, archived
Headers show
Series [-next] soc: bcm: brcmstb: Remove unused variable brcmstb_machine_match. | expand

Commit Message

Yongqiang Liu June 3, 2021, 2:44 a.m. UTC
Since commit 8b8f095b9076 ("soc: bcm: brcmstb: Remove soc_is_brcmstb()")
remove the function soc_is_brcmstb(), the global variable
brcmstb_machine_match is no longer useful. So remove it.

Signed-off-by: Yongqiang Liu <liuyongqiang13@huawei.com>
---
 drivers/soc/bcm/brcmstb/common.c | 5 -----
 1 file changed, 5 deletions(-)

Comments

Florian Fainelli June 4, 2021, 5:53 p.m. UTC | #1
On Thu, 3 Jun 2021 02:44:26 +0000, Yongqiang Liu <liuyongqiang13@huawei.com> wrote:
> Since commit 8b8f095b9076 ("soc: bcm: brcmstb: Remove soc_is_brcmstb()")
> remove the function soc_is_brcmstb(), the global variable
> brcmstb_machine_match is no longer useful. So remove it.
> 
> Signed-off-by: Yongqiang Liu <liuyongqiang13@huawei.com>
> ---

Applied to soc/next, thanks!
--
Florian
diff mbox series

Patch

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;