module: module_unload_init() cleanup
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 5 Aug 2010 18:59:00 +0000 (12:59 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 5 Aug 2010 03:29:02 +0000 (12:29 +0930)
commit2409e74278b7fb917d39ef6d3c16223c04a386f2
treea5b9fe3cefc536960d3e5de819e46f375ed5476c
parent3cfc2c42c1cbc8e238bb9c0612c0df4565e3a8b4
module: module_unload_init() cleanup

No need to clear mod->refptr in module_unload_init(), since
alloc_percpu() already clears allocated chunks.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (removed unused var)
kernel/module.c