mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
VFS: fix unused variable warning
Commit 33dcdac2df
("kill ->put_inode")
removed the final use of i_op->put_inode, but left the now totally
unused "op" variable in iput().
Get rid of it.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
aeed5fce37
commit
6ce07c7b61
1 changed files with 0 additions and 2 deletions
|
@ -1149,8 +1149,6 @@ static inline void iput_final(struct inode *inode)
|
||||||
void iput(struct inode *inode)
|
void iput(struct inode *inode)
|
||||||
{
|
{
|
||||||
if (inode) {
|
if (inode) {
|
||||||
const struct super_operations *op = inode->i_sb->s_op;
|
|
||||||
|
|
||||||
BUG_ON(inode->i_state == I_CLEAR);
|
BUG_ON(inode->i_state == I_CLEAR);
|
||||||
|
|
||||||
if (atomic_dec_and_lock(&inode->i_count, &inode_lock))
|
if (atomic_dec_and_lock(&inode->i_count, &inode_lock))
|
||||||
|
|
Loading…
Reference in a new issue