Skip to content

Commit d43e6fb

Browse files
arndbdavem330
authored andcommitted
cpmac: remove hopeless #warning
The #warning was present 10 years ago when the driver first got merged. As the platform is rather obsolete by now, it seems very unlikely that the warning will cause anyone to fix the code properly. kernelci.org reports the warning for every build in the meantime, so I think it's better to just turn it into a code comment to reduce noise. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 8ec3e8a commit d43e6fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/ti/cpmac.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1210,7 +1210,7 @@ int cpmac_init(void)
12101210
goto fail_alloc;
12111211
}
12121212

1213-
#warning FIXME: unhardcode gpio&reset bits
1213+
/* FIXME: unhardcode gpio&reset bits */
12141214
ar7_gpio_disable(26);
12151215
ar7_gpio_disable(27);
12161216
ar7_device_reset(AR7_RESET_BIT_CPMAC_LO);

0 commit comments

Comments
 (0)