summaryrefslogtreecommitdiff
path: root/src/ipa/raspberrypi/controller/rpi/alsc.cpp
diff options
context:
space:
mode:
authorBarnabás Pőcze <pobrn@protonmail.com>2023-05-02 17:55:53 +0000
committerJacopo Mondi <jacopo.mondi@ideasonboard.com>2023-05-04 11:04:03 +0200
commit8258bd6ad64c0223d6371e8a194f3b315d4c5932 (patch)
treeb6001169fd74249d0b28f87e8118ac57ea6f7ce4 /src/ipa/raspberrypi/controller/rpi/alsc.cpp
parente7d7c99f4b7bb44ebedc3dc118c58292365ac3a4 (diff)
apps: qcam: Remove redundant check
The switch statement checks `roles.size()` with cases for 1 and 2, so in the `default` branch, `role.size() > 2`, i.e. it is always different from 1, so the check is unnecessary. Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Diffstat (limited to 'src/ipa/raspberrypi/controller/rpi/alsc.cpp')
0 files changed, 0 insertions, 0 deletions