summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/video/tvmixer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/linux/drivers/media/video/tvmixer.c b/linux/drivers/media/video/tvmixer.c
index 3b59920ac..4e87f5d3b 100644
--- a/linux/drivers/media/video/tvmixer.c
+++ b/linux/drivers/media/video/tvmixer.c
@@ -234,8 +234,7 @@ static int tvmixer_release(struct inode *inode, struct file *file)
client->adapter->dec_use(client->adapter);
#endif
#if LINUX_VERSION_CODE > KERNEL_VERSION(2,5,54)
- if (client->adapter->owner)
- module_put(client->adapter->owner);
+ module_put(client->adapter->owner);
#endif
return 0;
}