mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
o Removed unused MOD_INC/DEC_USE_COUNT
This commit is contained in:
parent
8f849d9977
commit
9ade33a235
@ -148,7 +148,6 @@ static int dm_blk_open(struct inode *inode, struct file *file)
|
|||||||
md->use_count++;
|
md->use_count++;
|
||||||
wu;
|
wu;
|
||||||
|
|
||||||
MOD_INC_USE_COUNT;
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -171,7 +170,6 @@ static int dm_blk_close(struct inode *inode, struct file *file)
|
|||||||
md->use_count--;
|
md->use_count--;
|
||||||
wu;
|
wu;
|
||||||
|
|
||||||
MOD_DEC_USE_COUNT;
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user