diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-01-07 11:39:44 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-01-07 11:39:44 -0200 |
commit | 7e9b89b1cc339f60019cb0e3014cd7f0c1081fd4 (patch) | |
tree | 456e2179d97d6970cde503b1cd4cdf2427785e5e /linux | |
parent | 33faade7ca580e812dc413082312bd0f79dd13ee (diff) | |
download | mediapointer-dvb-s2-7e9b89b1cc339f60019cb0e3014cd7f0c1081fd4.tar.gz mediapointer-dvb-s2-7e9b89b1cc339f60019cb0e3014cd7f0c1081fd4.tar.bz2 |
tvmixer module_put cleanup
From: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
This patch 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>
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/media/video/tvmixer.c | 3 |
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; } |