mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
media: dvb-frontends: remove redundant initialization of variable status
The variable status is being initialized with a value that is never read and it is being updated later with a new value. The initialization is redundant and can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
77d30eab04
commit
43c4dc3f59
1 changed files with 1 additions and 1 deletions
|
@ -1093,7 +1093,7 @@ static int init_hi(struct drxk_state *state)
|
|||
|
||||
static int mpegts_configure_pins(struct drxk_state *state, bool mpeg_enable)
|
||||
{
|
||||
int status = -1;
|
||||
int status;
|
||||
u16 sio_pdr_mclk_cfg = 0;
|
||||
u16 sio_pdr_mdx_cfg = 0;
|
||||
u16 err_cfg = 0;
|
||||
|
|
Loading…
Reference in a new issue