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 <naush@raspberrypi.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
committed by
Laurent Pinchart
parent
5b07fa2003
commit
c19150ea94
@@ -25,13 +25,6 @@ Controller::Controller()
|
||||
{
|
||||
}
|
||||
|
||||
Controller::Controller(char const *jsonFilename)
|
||||
: switchModeCalled_(false)
|
||||
{
|
||||
read(jsonFilename);
|
||||
initialise();
|
||||
}
|
||||
|
||||
Controller::~Controller() {}
|
||||
|
||||
int Controller::read(char const *filename)
|
||||
|
||||
@@ -40,7 +40,6 @@ class Controller
|
||||
{
|
||||
public:
|
||||
Controller();
|
||||
Controller(char const *jsonFilename);
|
||||
~Controller();
|
||||
int read(char const *filename);
|
||||
void initialise();
|
||||
|
||||
Reference in New Issue
Block a user