diff options
| author | Ezequiel Garcia <[email protected]> | 2020-04-02 21:45:02 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2020-04-21 13:42:29 +0200 |
| commit | f661aaa007aa411ecd088e99864926adc968c510 (patch) | |
| tree | 3a22024f1d0efd83022742467af88dc795ec2125 /tools/perf/scripts/python/bin | |
| parent | d6ef0719fa90da52a555ff6de5f13e6bea601d33 (diff) | |
media: rkisp1: Get rid of unused variable warning
If CONFIG_OF is not selected, the compiler will complain:
drivers/staging/media/rkisp1/rkisp1-dev.c: In function ‘rkisp1_probe’:
drivers/staging/media/rkisp1/rkisp1-dev.c:457:22: warning: unused variable ‘node’ [-Wunused-variable]
457 | struct device_node *node = pdev->dev.of_node;
Rework the code slightly and make the compiler happy.
Suggested-by: Robin Murphy <[email protected]>
Signed-off-by: Ezequiel Garcia <[email protected]>
Acked-by: Helen Koike <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions