linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] MIPS: BCM47XX: Remove the needless check with the 1074K
@ 2020-09-23  6:53 Wei Li
  2020-09-23  6:55 ` Rafał Miłecki
  2020-09-24 13:55 ` Thomas Bogendoerfer
  0 siblings, 2 replies; 3+ messages in thread
From: Wei Li @ 2020-09-23  6:53 UTC (permalink / raw)
  To: Hauke Mehrtens, Rafał Miłecki, Thomas Bogendoerfer,
	Ralf Baechle, Leonid Yegoshin, Steven J. Hill
  Cc: linux-mips, linux-kernel, guohanjun

As there is no known soc powered by mips 1074K in bcm47xx series,
the check with 1074K is needless. So just remove it.

Link: https://wireless.wiki.kernel.org/en/users/Drivers/b43/soc
Fixes: 442e14a2c55e ("MIPS: Add 1074K CPU support explicitly.")
Signed-off-by: Wei Li <liwei391@huawei.com>
---
 arch/mips/bcm47xx/setup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/bcm47xx/setup.c b/arch/mips/bcm47xx/setup.c
index 82627c264964..01427bde2397 100644
--- a/arch/mips/bcm47xx/setup.c
+++ b/arch/mips/bcm47xx/setup.c
@@ -148,7 +148,7 @@ void __init plat_mem_setup(void)
 {
 	struct cpuinfo_mips *c = &current_cpu_data;
 
-	if ((c->cputype == CPU_74K) || (c->cputype == CPU_1074K)) {
+	if (c->cputype == CPU_74K) {
 		pr_info("Using bcma bus\n");
 #ifdef CONFIG_BCM47XX_BCMA
 		bcm47xx_bus_type = BCM47XX_BUS_TYPE_BCMA;
-- 
2.17.1


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

* Re: [PATCH] MIPS: BCM47XX: Remove the needless check with the 1074K
  2020-09-23  6:53 [PATCH] MIPS: BCM47XX: Remove the needless check with the 1074K Wei Li
@ 2020-09-23  6:55 ` Rafał Miłecki
  2020-09-24 13:55 ` Thomas Bogendoerfer
  1 sibling, 0 replies; 3+ messages in thread
From: Rafał Miłecki @ 2020-09-23  6:55 UTC (permalink / raw)
  To: Wei Li
  Cc: Hauke Mehrtens, Thomas Bogendoerfer, Ralf Baechle,
	Leonid Yegoshin, Steven J. Hill, linux-mips,
	Linux Kernel Mailing List, guohanjun

On Wed, 23 Sep 2020 at 08:54, Wei Li <liwei391@huawei.com> wrote:
> As there is no known soc powered by mips 1074K in bcm47xx series,
> the check with 1074K is needless. So just remove it.
>
> Link: https://wireless.wiki.kernel.org/en/users/Drivers/b43/soc
> Fixes: 442e14a2c55e ("MIPS: Add 1074K CPU support explicitly.")
> Signed-off-by: Wei Li <liwei391@huawei.com>

Acked-by: Rafał Miłecki <rafal@milecki.pl>

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

* Re: [PATCH] MIPS: BCM47XX: Remove the needless check with the 1074K
  2020-09-23  6:53 [PATCH] MIPS: BCM47XX: Remove the needless check with the 1074K Wei Li
  2020-09-23  6:55 ` Rafał Miłecki
@ 2020-09-24 13:55 ` Thomas Bogendoerfer
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Bogendoerfer @ 2020-09-24 13:55 UTC (permalink / raw)
  To: Wei Li
  Cc: Hauke Mehrtens, Rafał Miłecki, Ralf Baechle,
	Leonid Yegoshin, Steven J. Hill, linux-mips, linux-kernel,
	guohanjun

On Wed, Sep 23, 2020 at 02:53:26PM +0800, Wei Li wrote:
> As there is no known soc powered by mips 1074K in bcm47xx series,
> the check with 1074K is needless. So just remove it.
> 
> Link: https://wireless.wiki.kernel.org/en/users/Drivers/b43/soc
> Fixes: 442e14a2c55e ("MIPS: Add 1074K CPU support explicitly.")
> Signed-off-by: Wei Li <liwei391@huawei.com>
> ---
>  arch/mips/bcm47xx/setup.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

applied to mips-fixes.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

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

end of thread, other threads:[~2020-09-24 13:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-23  6:53 [PATCH] MIPS: BCM47XX: Remove the needless check with the 1074K Wei Li
2020-09-23  6:55 ` Rafał Miłecki
2020-09-24 13:55 ` Thomas Bogendoerfer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).