aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorHans Verkuil <[email protected]>2019-02-08 03:49:23 -0500
committerMauro Carvalho Chehab <[email protected]>2019-02-18 10:58:59 -0500
commit3d769df5fc32dc3cb12d6ccb61690b09371b8b3f (patch)
tree518a7e17f442f7302846cbc3f9b3817086114174 /tools/perf/scripts/python/stackcollapse.py
parent5515e414f42bf2769caae15b634004d456658284 (diff)
media: v4l2-subdev.h: v4l2_subdev_call: use temp __sd variable
The sd argument of this macro can be a more complex expression. Since it is used 5 times in the macro it can be evaluated that many times as well. So assign it to a temp variable in the beginning and use that instead. This also avoids any potential side-effects of evaluating sd. Signed-off-by: Hans Verkuil <[email protected]> Acked-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions