Home
last modified time | relevance | path

Searched hist:"66 b72cf1857b508d99f4eabea278e9ec366ee7fd" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/media/radio/
H A Dradio-raremono.cdiff 66b72cf1857b508d99f4eabea278e9ec366ee7fd Fri Oct 27 18:20:08 CEST 2017 Colin Ian King <colin.king@canonical.com> 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>