diff options
| author | Roel Kluin <roel.kluin@gmail.com> | 2010-03-01 13:26:22 -0500 | 
|---|---|---|
| committer | Matthew Garrett <mjg@redhat.com> | 2010-03-01 13:26:22 -0500 | 
| commit | 6268f50df8c36e15e43ae2a10951b2cffd0ecfc4 (patch) | |
| tree | 0e276926a5cea74b7afbae68a1b2d6eb88eb4abe | |
| parent | db38a29111cb9232b1982e583fd417ea9c97357c (diff) | |
asus-acpi: remove duplicate comparison of asus_model strings
These tests already occur elsewhere
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Cc: Corentin Chary <corentincj@iksaif.net>
Cc: Karol Kozimor <sziwan@users.sourceforge.net>
Cc: Len Brown <lenb@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
| -rw-r--r-- | drivers/platform/x86/asus_acpi.c | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/platform/x86/asus_acpi.c b/drivers/platform/x86/asus_acpi.c index c1d2aeeea948..1381430e1105 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) | |||
| 1225 | else if (strncmp(model, "M2N", 3) == 0 || | 1225 | else if (strncmp(model, "M2N", 3) == 0 || | 
| 1226 | strncmp(model, "M3N", 3) == 0 || | 1226 | strncmp(model, "M3N", 3) == 0 || | 
| 1227 | strncmp(model, "M5N", 3) == 0 || | 1227 | strncmp(model, "M5N", 3) == 0 || | 
| 1228 | strncmp(model, "M6N", 3) == 0 || | ||
| 1229 | strncmp(model, "S1N", 3) == 0 || | 1228 | strncmp(model, "S1N", 3) == 0 || | 
| 1230 | strncmp(model, "S5N", 3) == 0 || strncmp(model, "W1N", 3) == 0) | 1229 | strncmp(model, "S5N", 3) == 0) | 
| 1231 | return xxN; | 1230 | return xxN; | 
| 1232 | else if (strncmp(model, "M1", 2) == 0) | 1231 | else if (strncmp(model, "M1", 2) == 0) | 
| 1233 | return M1A; | 1232 | return M1A; | 
