diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2019-08-08 14:47:30 +0100 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2019-08-13 15:36:04 +0100 |
commit | 0268984c0d870a6e772b45e3aa1b01daadd45395 (patch) | |
tree | 0eddd085ed474058eca7181d359e7e2c82a025a2 /test/v4l2_videodevice/v4l2_videodevice_test.cpp | |
parent | 093573db19179b5bb5e728afe87bd3a610447112 (diff) |
test: v4l2_device: Remove unused function
The 'exists()' call is not used within the code base.
Remove it.
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'test/v4l2_videodevice/v4l2_videodevice_test.cpp')
-rw-r--r-- | test/v4l2_videodevice/v4l2_videodevice_test.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/test/v4l2_videodevice/v4l2_videodevice_test.cpp b/test/v4l2_videodevice/v4l2_videodevice_test.cpp index a0d269fe..096f9649 100644 --- a/test/v4l2_videodevice/v4l2_videodevice_test.cpp +++ b/test/v4l2_videodevice/v4l2_videodevice_test.cpp @@ -6,7 +6,6 @@ */ #include <iostream> -#include <sys/stat.h> #include <linux/media-bus-format.h> @@ -18,16 +17,6 @@ using namespace std; using namespace libcamera; -bool exists(const std::string &path) -{ - struct stat sb; - - if (stat(path.c_str(), &sb) == 0) - return true; - - return false; -} - int V4L2VideoDeviceTest::init() { enumerator_ = DeviceEnumerator::create(); |