--- zzzz-none-000/linux-2.6.39.4/drivers/base/module.c 2011-08-03 19:43:28.000000000 +0000 +++ puma6-arm-6490-729/linux-2.6.39.4/drivers/base/module.c 2021-11-10 13:23:10.000000000 +0000 @@ -33,7 +33,7 @@ void module_add_driver(struct module *mod, struct device_driver *drv) { char *driver_name; - int no_warn; + int no_warn __maybe_unused; struct module_kobject *mk = NULL; if (!drv)