module refcounts for airport driver
PATCH 1/1 module refcounts for airport driver
This patch takes out the MOD_INC/DEC_USE_COUNT in the airport (Apple wireless ethernet) driver. The driver already does SET_MODULE_OWNER on the netdevice, so the MOD_INC/DEC_USE_COUNT are unnecessary and just cause warnings.
Please apply.
Thanks,
Paul.
drivers/net/wireless/airport.c +0 -4
@@ -275,15 +275,11 @@printk (KERN_DEBUG "%s\n" , version); -MOD_INC_USE_COUNT ; -/* Lookup card in device tree */ airport_node =find_devices ("radio" );if (airport_node && !strcmp (airport_node->parent->name,"mac-io" )) airport_dev =airport_attach (airport_node); -MOD_DEC_USE_COUNT ; -return airport_dev ?0 : -ENODEV ; }