diff options
| author | Mauro Carvalho Chehab <[email protected]> | 2021-11-10 12:59:11 +0000 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2021-11-15 08:11:59 +0000 |
| commit | 71665d816214124d6bc4eb80314ac8f84ecacd78 (patch) | |
| tree | defe6d53dc37fe1a643ae158e854832e506b641c /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | e5e59f81840be21c6c996c783effb8744958414e (diff) | |
media: atomisp: check before deference asd variable
The asd->isp was referenced before checking if asd is not
NULL.
This fixes this warning:
../drivers/staging/media/atomisp/pci/atomisp_cmd.c:5548 atomisp_set_fmt_to_snr() warn: variable dereferenced before check 'asd' (see line 5540)
While here, avoid getting the pipe pointer twice.
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions