projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac32898
)
V4L/DVB (5028): Tvmixer module_put cleanup
author
Mariusz Kozlowski
<m.kozlowski@tuxland.pl>
Sun, 7 Jan 2007 13:39:44 +0000
(10:39 -0300)
committer
Mauro Carvalho Chehab
<mchehab@infradead.org>
Wed, 21 Feb 2007 15:34:18 +0000
(13:34 -0200)
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>
drivers/media/video/tvmixer.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/tvmixer.c
b/drivers/media/video/tvmixer.c
index 7ea9132a1965f86b28b85ef7a504db74bc2b83cd..3ae5a9cd2e28f1388f526acacdd0bb00e79cd7e5 100644
(file)
--- 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)
return -ENODEV;
}
- if (client->adapter->owner)
- module_put(client->adapter->owner);
+ module_put(client->adapter->owner);
return 0;
}