Commit db4b34ad authored by Christoph Hellwig's avatar Christoph Hellwig

[ISAPNP] Remove uneeded MOD_INC/DEC_USE_COUNT

isapnp_cfg_begin and isapnp_cfg_end are exported symbols, so if any
module using them is loaded isapnp.o can't be unloaded anyway
parent 1a64fcfd
......@@ -932,7 +932,6 @@ int isapnp_cfg_begin(int csn, int logdev)
{
if (csn < 1 || csn > isapnp_csn_count || logdev > 10)
return -EINVAL;
MOD_INC_USE_COUNT;
down(&isapnp_cfg_mutex);
isapnp_wait();
isapnp_key();
......@@ -960,7 +959,6 @@ int isapnp_cfg_end(void)
{
isapnp_wait();
up(&isapnp_cfg_mutex);
MOD_DEC_USE_COUNT;
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment