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

V4L/DVB (5027): Cpia module_put cleanup



No need for 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 22071a42
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -3153,7 +3153,6 @@ static int reset_camera(struct cam_data *cam)

static void put_cam(struct cpia_camera_ops* ops)
{
	if (ops->owner)
	module_put(ops->owner);
}