mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-24 17:15:07 +03:00
pipeline: raspberrypi: Remove unused getFormat call
The comment states, that we get the device format to pass it to the IPA, but the variable `sensorFormat` is not used again after it's assignment. Remove it, together with the comment. Signed-off-by: Sebastian Fricke <sebastian.fricke@posteo.net> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Naushir Patuck <naush@raspberrypi.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
6084217cd3
commit
e99fc4b0d5
1 changed files with 0 additions and 3 deletions
|
@ -1238,9 +1238,6 @@ int RPiCameraData::configureIPA(const CameraConfiguration *config)
|
|||
std::map<unsigned int, ControlInfoMap> entityControls;
|
||||
ipa::RPi::IPAConfig ipaConfig;
|
||||
|
||||
/* Get the device format to pass to the IPA. */
|
||||
V4L2DeviceFormat sensorFormat;
|
||||
unicam_[Unicam::Image].dev()->getFormat(&sensorFormat);
|
||||
/* Inform IPA of stream configuration and sensor controls. */
|
||||
unsigned int i = 0;
|
||||
for (auto const &stream : isp_) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue