All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] soc: bcm: brcmstb: Remove unused variable brcmstb_machine_match.
@ 2021-06-03  2:44 ` Yongqiang Liu
  0 siblings, 0 replies; 4+ messages in thread
From: Yongqiang Liu @ 2021-06-03  2:44 UTC (permalink / raw)
  To: f.fainelli, bcm-kernel-feedback-list; +Cc: linux-arm-kernel, linux-kernel

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(-)

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;
-- 
2.19.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH -next] soc: bcm: brcmstb: Remove unused variable brcmstb_machine_match.
@ 2021-06-03  2:44 ` Yongqiang Liu
  0 siblings, 0 replies; 4+ messages in thread
From: Yongqiang Liu @ 2021-06-03  2:44 UTC (permalink / raw)
  To: f.fainelli, bcm-kernel-feedback-list; +Cc: linux-arm-kernel, linux-kernel

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(-)

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;
-- 
2.19.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH -next] soc: bcm: brcmstb: Remove unused variable brcmstb_machine_match.
  2021-06-03  2:44 ` Yongqiang Liu
@ 2021-06-04 17:53   ` Florian Fainelli
  -1 siblings, 0 replies; 4+ messages in thread
From: Florian Fainelli @ 2021-06-04 17:53 UTC (permalink / raw)
  To: bcm-kernel-feedback-list, Yongqiang Liu; +Cc: linux-arm-kernel, linux-kernel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH -next] soc: bcm: brcmstb: Remove unused variable brcmstb_machine_match.
@ 2021-06-04 17:53   ` Florian Fainelli
  0 siblings, 0 replies; 4+ messages in thread
From: Florian Fainelli @ 2021-06-04 17:53 UTC (permalink / raw)
  To: bcm-kernel-feedback-list, Yongqiang Liu; +Cc: linux-arm-kernel, linux-kernel

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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-06-04 17:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-03  2:44 [PATCH -next] soc: bcm: brcmstb: Remove unused variable brcmstb_machine_match Yongqiang Liu
2021-06-03  2:44 ` Yongqiang Liu
2021-06-04 17:53 ` Florian Fainelli
2021-06-04 17:53   ` Florian Fainelli

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.