libcamera: ipu3: Remove initialization of Size

The Size struct constructor defaults the width and height to 0.
Remove the empty braced-list initialization as it is not required.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
Jacopo Mondi 2020-07-01 14:44:07 +02:00
parent 52a1332b48
commit 320757897c

View file

@ -246,7 +246,7 @@ CameraConfiguration::Status IPU3CameraConfiguration::validate()
* only. If no resolution is requested for any stream, or if no sensor
* resolution is large enough, pick the largest one.
*/
Size size = {};
Size size;
for (const StreamConfiguration &cfg : config_) {
if (cfg.size.width > size.width)