don't use mips_machgroup
[openwrt/staging/florian.git] / target / linux / adm5120 / files / drivers / leds / leds-adm5120.c
index 95b90fa474f52ccffb7b390270898f4b904dfdd6..54783abfaa0c352bad4a865c6edc2abf37014e35 100644 (file)
@@ -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");