diff options
| author | 2019-05-23 05:27:30 -0400 | |
|---|---|---|
| committer | 2019-05-23 13:39:21 -0400 | |
| commit | 3d3515312f97582136644a7327ed262c7bb7ea31 (patch) | |
| tree | 3f7851263e342c16e32adbac5edc3276e7e4753a /tools/perf/scripts/python | |
| parent | media: media_device_enum_links32: clean a reserved field (diff) | |
media: rc-main: clean-up two warnings
While correct, the code is too complex for smatch to undersdand
that protocol will always be initialized:
drivers/media/rc/rc-main.c:1531 store_wakeup_protocols() error: uninitialized symbol 'protocol'.
drivers/media/rc/rc-main.c:1541 store_wakeup_protocols() error: uninitialized symbol 'protocol'.
So, change it a little bit in order to avoid such warning.
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Acked-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
