diff options
author | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-05-23 05:27:30 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-05-23 13:39:21 -0400 |
commit | 3d3515312f97582136644a7327ed262c7bb7ea31 (patch) | |
tree | 3f7851263e342c16e32adbac5edc3276e7e4753a /drivers/media/Kconfig | |
parent | f49308878d7202e07d8761238e01bd0e5fce2750 (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 'drivers/media/Kconfig')
0 files changed, 0 insertions, 0 deletions