]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
media: radio-raremono: remove redundant initialization of freq
authorColin Ian King <colin.king@canonical.com>
Fri, 27 Oct 2017 16:20:08 +0000 (12:20 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 31 Oct 2017 11:26:39 +0000 (07:26 -0400)
commit66b72cf1857b508d99f4eabea278e9ec366ee7fd
treef125859bb66b79d5c77b7dcf896924f5b42f7e9c
parentb3168c87c0492661badc3e908f977d79e7738a41
media: radio-raremono: remove redundant initialization of freq

Variable freq is initialized to f->frequency however this value
is never read and freq is later updated; hence the initialization
is redundant and can be removed.

Cleans up clang warning:
drivers/media/radio/radio-raremono.c:257:6: warning: Value stored
to 'freq' during its initialization is never read

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/radio/radio-raremono.c