aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2018-03-13 09:06:03 -0400
committerMauro Carvalho Chehab <[email protected]>2018-03-22 06:17:40 -0400
commit492b183bd7bcaede57381f4d06e19f1983083781 (patch)
tree97df78af5ee51d563a27ac5026c1fb33b60626ff /tools/perf/scripts/python/stackcollapse.py
parent9fbc5a3245f8b32ef941e39597ba7b5e15b07376 (diff)
media: ngene: avoid unused variable warning
The newly added pdev variable is only used in an #ifdef, causing a build warning without CONFIG_PCI_MSI, unless we move the declaration inside the same #ifdef: drivers/media/pci/ngene/ngene-core.c: In function 'ngene_start': drivers/media/pci/ngene/ngene-core.c:1328:17: error: unused variable 'pdev' [-Werror=unused-variable] Fixes: 6795bf626482 ("media: ngene: convert kernellog printing from printk() to dev_*() macros") Signed-off-by: Arnd Bergmann <[email protected]> Acked-by: Daniel Scheller <[email protected]> Signed-off-by: Hans Verkuil <[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