video: tvmixer module_put cleanup
PATCH 1/1 video: tvmixer module_put cleanup
Hello,
This patch removes redundant argument check for module_put().
Signed-off-by Mariusz Kozlowski <[email protected]>
drivers/media/video/tvmixer.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/media/video/tvmixer.c +1 -2
@@ -213,8 +213,7 @@ static int tvmixer_release(struct inodereturn -ENODEV ; } -if (client->adapter->owner) -module_put (client->adapter->owner); +module_put (client->adapter->owner);return 0 ; }
Signature · 3 lines
Regards, Mariusz Kozlowski