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:
parent
5b07fa2003
commit
c19150ea94
2 changed files with 0 additions and 8 deletions
|
@ -25,13 +25,6 @@ Controller::Controller()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
Controller::Controller(char const *jsonFilename)
|
|
||||||
: switchModeCalled_(false)
|
|
||||||
{
|
|
||||||
read(jsonFilename);
|
|
||||||
initialise();
|
|
||||||
}
|
|
||||||
|
|
||||||
Controller::~Controller() {}
|
Controller::~Controller() {}
|
||||||
|
|
||||||
int Controller::read(char const *filename)
|
int Controller::read(char const *filename)
|
||||||
|
|
|
@ -40,7 +40,6 @@ class Controller
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
Controller();
|
Controller();
|
||||||
Controller(char const *jsonFilename);
|
|
||||||
~Controller();
|
~Controller();
|
||||||
int read(char const *filename);
|
int read(char const *filename);
|
||||||
void initialise();
|
void initialise();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue