treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / media / pci / cx18 / cx18-video.c
blob2fde8c2d3fdc504a5077025afafcb23d973b5549
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3 * cx18 video interface functions
5 * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl>
6 */
8 #include "cx18-driver.h"
9 #include "cx18-video.h"
10 #include "cx18-cards.h"
12 void cx18_video_set_io(struct cx18 *cx)
14 int inp = cx->active_input;
16 v4l2_subdev_call(cx->sd_av, video, s_routing,
17 cx->card->video_inputs[inp].video_input, 0, 0);