public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] asus-acpi: duplicate comparison of asus_model strings
@ 2010-01-13 17:05 Roel Kluin
  0 siblings, 0 replies; only message in thread
From: Roel Kluin @ 2010-01-13 17:05 UTC (permalink / raw)
  To: Corentin Chary, Karol Kozimor, acpi4asus-user, Andrew Morton,
	LKML

These tests already occur elsewhere

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
---
Does this remove the right duplicates?

diff --git a/drivers/platform/x86/asus_acpi.c b/drivers/platform/x86/asus_acpi.c
index c1d2aee..1381430 100644
--- a/drivers/platform/x86/asus_acpi.c
+++ b/drivers/platform/x86/asus_acpi.c
@@ -1225,9 +1225,8 @@ static int asus_model_match(char *model)
 	else if (strncmp(model, "M2N", 3) == 0 ||
 		 strncmp(model, "M3N", 3) == 0 ||
 		 strncmp(model, "M5N", 3) == 0 ||
-		 strncmp(model, "M6N", 3) == 0 ||
 		 strncmp(model, "S1N", 3) == 0 ||
-		 strncmp(model, "S5N", 3) == 0 || strncmp(model, "W1N", 3) == 0)
+		 strncmp(model, "S5N", 3) == 0)
 		return xxN;
 	else if (strncmp(model, "M1", 2) == 0)
 		return M1A;

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-01-13 17:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-13 17:05 [PATCH] asus-acpi: duplicate comparison of asus_model strings Roel Kluin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox