aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDafna Hirschfeld <[email protected]>2021-03-01 18:18:34 +0100
committerMauro Carvalho Chehab <[email protected]>2021-03-11 11:59:43 +0100
commit18a4ca76ada464b3240f194800d41ea21fbb4229 (patch)
tree943b1c37238853f119e4a54d5dec9ead14e5376b /tools/perf/scripts/python
parent4fade8329ab2be2b902fce8db3625fd12234b873 (diff)
media: rkisp1: params: remove extra 'if' conditions
There is a repeating code pattern: if (a || b) { if (a) ... if (b) ... } In this pattern, the first 'if' is redundant. The code can be replaced with: if (a) ... if (b) ... Signed-off-by: Dafna Hirschfeld <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions