From c19150ea94ac095de63fe878282caf3b23dd461f Mon Sep 17 00:00:00 2001 From: Naushir Patuck Date: Thu, 28 Jul 2022 13:05:30 +0100 Subject: ipa: raspberrypi: Remove unused Controller constructor The Controller(char const *jsonFilename) is not valid anymore since Controller::read() can now return an error on a failure. Additionally, this constructor is not actually used, so remove it. Signed-off-by: Naushir Patuck Reviewed-by: Kieran Bingham Reviewed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart --- src/ipa/raspberrypi/controller/controller.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/ipa/raspberrypi/controller/controller.cpp') diff --git a/src/ipa/raspberrypi/controller/controller.cpp b/src/ipa/raspberrypi/controller/controller.cpp index bbd382bc..f4892786 100644 --- a/src/ipa/raspberrypi/controller/controller.cpp +++ b/src/ipa/raspberrypi/controller/controller.cpp @@ -25,13 +25,6 @@ Controller::Controller() { } -Controller::Controller(char const *jsonFilename) - : switchModeCalled_(false) -{ - read(jsonFilename); - initialise(); -} - Controller::~Controller() {} int Controller::read(char const *filename) -- cgit v1.2.1