aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120/files/drivers/leds
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/adm5120/files/drivers/leds')
-rw-r--r--target/linux/adm5120/files/drivers/leds/leds-adm5120.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/target/linux/adm5120/files/drivers/leds/leds-adm5120.c b/target/linux/adm5120/files/drivers/leds/leds-adm5120.c
index 95b90fa474..54783abfaa 100644
--- a/target/linux/adm5120/files/drivers/leds/leds-adm5120.c
+++ b/target/linux/adm5120/files/drivers/leds/leds-adm5120.c
@@ -327,11 +327,6 @@ adm5120_leds_init(void)
struct mach_data *mach;
int i, ret;
- if (mips_machgroup != MACH_GROUP_ADM5120) {
- ret = -EINVAL;
- goto err;
- }
-
mach = adm5120_leds_findmach(mips_machtype);
if (mach == NULL) {
printk(KERN_ERR "leds-adm5120: unsupported board\n");