Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1667,7 +1667,6 @@ static int CtrlPowerMode(struct drxk_state *state, enum DRXPowerMode *mode)
	default:
		/* Unknow sleep mode */
		return -EINVAL;
		break;
	}

	/* If already in requested power mode, do nothing */
@@ -3460,7 +3459,6 @@ static int DVBTCtrlSetEchoThreshold(struct drxk_state *state,
		break;
	default:
		return -EINVAL;
		goto error;
	}

	status = write16(state, OFDM_SC_RA_RAM_ECHO_THRES__A, data);