diff options
author | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-05-23 11:27:30 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-05-23 19:39:21 +0200 |
commit | 3d3515312f97582136644a7327ed262c7bb7ea31 (patch) | |
tree | 3f7851263e342c16e32adbac5edc3276e7e4753a /kernel/delayacct.c | |
parent | media: media_device_enum_links32: clean a reserved field (diff) | |
download | linux-3d3515312f97582136644a7327ed262c7bb7ea31.tar.xz linux-3d3515312f97582136644a7327ed262c7bb7ea31.zip |
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 'kernel/delayacct.c')
0 files changed, 0 insertions, 0 deletions