V4L/DVB (5028): Tvmixer module_put cleanup
Removes redundant argument check for module_put() Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
ac32898930
commit
cededbfcbc
@@ -212,7 +212,6 @@ static int tvmixer_release(struct inode *inode, struct file *file)
|
|||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (client->adapter->owner)
|
|
||||||
module_put(client->adapter->owner);
|
module_put(client->adapter->owner);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user