|
@@ -96,7 +96,7 @@ int v4l2_mc_create_media_graph(struct media_device *mdev)
|
|
|
|
|
|
{
|
|
|
struct media_entity *entity;
|
|
|
- struct media_entity *if_vid = NULL, *if_aud = NULL, *sensor = NULL;
|
|
|
+ struct media_entity *if_vid = NULL, *if_aud = NULL;
|
|
|
struct media_entity *tuner = NULL, *decoder = NULL;
|
|
|
struct media_entity *io_v4l = NULL, *io_vbi = NULL, *io_swradio = NULL;
|
|
|
bool is_webcam = false;
|
|
@@ -130,7 +130,6 @@ int v4l2_mc_create_media_graph(struct media_device *mdev)
|
|
|
io_swradio = entity;
|
|
|
break;
|
|
|
case MEDIA_ENT_F_CAM_SENSOR:
|
|
|
- sensor = entity;
|
|
|
is_webcam = true;
|
|
|
break;
|
|
|
}
|