diff options
Diffstat (limited to 'drivers/media/video/cpia.c')
-rw-r--r-- | drivers/media/video/cpia.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/video/cpia.c b/drivers/media/video/cpia.c index 7e8d5ef58b6..735a52a9041 100644 --- a/drivers/media/video/cpia.c +++ b/drivers/media/video/cpia.c | |||
@@ -3153,8 +3153,7 @@ static int reset_camera(struct cam_data *cam) | |||
3153 | 3153 | ||
3154 | static void put_cam(struct cpia_camera_ops* ops) | 3154 | static void put_cam(struct cpia_camera_ops* ops) |
3155 | { | 3155 | { |
3156 | if (ops->owner) | 3156 | module_put(ops->owner); |
3157 | module_put(ops->owner); | ||
3158 | } | 3157 | } |
3159 | 3158 | ||
3160 | /* ------------------------- V4L interface --------------------- */ | 3159 | /* ------------------------- V4L interface --------------------- */ |