aboutsummaryrefslogtreecommitdiffstats
path: root/utils/v4l2-compliance/v4l2-compliance.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/v4l2-compliance/v4l2-compliance.cpp')
-rw-r--r--utils/v4l2-compliance/v4l2-compliance.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/utils/v4l2-compliance/v4l2-compliance.cpp b/utils/v4l2-compliance/v4l2-compliance.cpp
index 7ad8d10..55e8d36 100644
--- a/utils/v4l2-compliance/v4l2-compliance.cpp
+++ b/utils/v4l2-compliance/v4l2-compliance.cpp
@@ -807,7 +807,6 @@ static int open_media_bus_info(const std::string &bus_info, std::string &media_d
int fd = open(media_devname.c_str(), O_RDWR);
if (fd < 0)
continue;
- ioctl(fd, MEDIA_IOC_DEVICE_INFO, &mdi);
if (!ioctl(fd, MEDIA_IOC_DEVICE_INFO, &mdi) &&
bus_info == mdi.bus_info) {
closedir(dp);

Privacy Policy