diff options
Diffstat (limited to 'drivers/media/video/tvmixer.c')
-rw-r--r-- | drivers/media/video/tvmixer.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/video/tvmixer.c b/drivers/media/video/tvmixer.c index 7ea9132a1965..3ae5a9cd2e28 100644 --- a/drivers/media/video/tvmixer.c +++ b/drivers/media/video/tvmixer.c | |||
@@ -212,8 +212,7 @@ static int tvmixer_release(struct inode *inode, struct file *file) | |||
212 | return -ENODEV; | 212 | return -ENODEV; |
213 | } | 213 | } |
214 | 214 | ||
215 | if (client->adapter->owner) | 215 | module_put(client->adapter->owner); |
216 | module_put(client->adapter->owner); | ||
217 | return 0; | 216 | return 0; |
218 | } | 217 | } |
219 | 218 | ||