Commit cededbfc authored by Mariusz Kozlowski's avatar Mariusz Kozlowski Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (5028): Tvmixer module_put cleanup



Removes redundant argument check for module_put()

Signed-off-by: default avatarMariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent ac328989
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -212,7 +212,6 @@ static int tvmixer_release(struct inode *inode, struct file *file)
		return -ENODEV;
	}

	if (client->adapter->owner)
	module_put(client->adapter->owner);
	return 0;
}