spa: libcamera: remove unnecessary have_config member

An extra flag is not needed because the `config` pointer can be
checked to determine if a configuration has already been retrieved.
This commit is contained in:
Barnabás Pőcze 2022-09-04 03:48:51 +02:00 committed by Wim Taymans
parent 9374c15c3d
commit 02f2d6b48d
2 changed files with 1 additions and 3 deletions

View file

@ -171,7 +171,6 @@ typedef struct impl {
void requestComplete(libcamera::Request *request);
unsigned int have_config;
std::unique_ptr<CameraConfiguration> config;
struct spa_source source = {};