From: Mariusz Kozlowski Date: Sun, 7 Jan 2007 13:39:44 +0000 (-0300) Subject: V4L/DVB (5028): Tvmixer module_put cleanup X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=cededbfcbc31230c1717a7ed27ff6cf82734e568;p=openwrt%2Fstaging%2Fblogic.git V4L/DVB (5028): Tvmixer module_put cleanup Removes redundant argument check for module_put() Signed-off-by: Mariusz Kozlowski Signed-off-by: Mauro Carvalho Chehab --- 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) return -ENODEV; } - if (client->adapter->owner) - module_put(client->adapter->owner); + module_put(client->adapter->owner); return 0; }