Commit ab12f41f authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] drxk: Remove goto/break after return

After return, we don't need any other statement to change the
function flux ;)
Reported-by: default avatarOliver Endriss <o.endriss@gmx.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 320ed23e
...@@ -1667,7 +1667,6 @@ static int CtrlPowerMode(struct drxk_state *state, enum DRXPowerMode *mode) ...@@ -1667,7 +1667,6 @@ static int CtrlPowerMode(struct drxk_state *state, enum DRXPowerMode *mode)
default: default:
/* Unknow sleep mode */ /* Unknow sleep mode */
return -EINVAL; return -EINVAL;
break;
} }
/* If already in requested power mode, do nothing */ /* If already in requested power mode, do nothing */
...@@ -3460,7 +3459,6 @@ static int DVBTCtrlSetEchoThreshold(struct drxk_state *state, ...@@ -3460,7 +3459,6 @@ static int DVBTCtrlSetEchoThreshold(struct drxk_state *state,
break; break;
default: default:
return -EINVAL; return -EINVAL;
goto error;
} }
status = write16(state, OFDM_SC_RA_RAM_ECHO_THRES__A, data); status = write16(state, OFDM_SC_RA_RAM_ECHO_THRES__A, data);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment