aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <[email protected]>2016-02-12 08:07:59 -0200
committerMauro Carvalho Chehab <[email protected]>2016-02-16 08:55:58 -0200
commit153d41a1d0a47dfd4d773d8b9db192a62f92355e (patch)
tree967e028aa0900c76ed363dab255761e64b769537 /tools/perf/scripts/python/bin/stackcollapse-report
parent6168309acd6afe420108dba20a66e6781b933f89 (diff)
[media] v4l2-mc: remove the unused sensor var
This fixes this warning: v4l2-mc.c: In function 'v4l2_mc_create_media_graph': v4l2-mc.c:60:69: warning: variable 'sensor' set but not used [-Wunused-but-set-variable] We could solve it the other way: don't do the second loop for webcams. However, that would fail if a chip would have two sensors plugged. This is not the current case, but it doesn't hurt to be future-safe here, specially since this code runs only once during device probe. So, performance is not an issue here. Reported-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions