Last parameter of function GetLockStatus() isn't used so drop it. Signed-off-by: Jean Delvare <khali@xxxxxxxxxxxx> Cc: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx> --- drivers/media/dvb-frontends/drxk_hard.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- linux-3.8.orig/drivers/media/dvb-frontends/drxk_hard.c 2013-02-19 00:58:34.000000000 +0100 +++ linux-3.8/drivers/media/dvb-frontends/drxk_hard.c 2013-03-07 09:38:36.116748279 +0100 @@ -1947,8 +1947,7 @@ static int ShutDown(struct drxk_state *s return 0; } -static int GetLockStatus(struct drxk_state *state, u32 *pLockStatus, - u32 Time) +static int GetLockStatus(struct drxk_state *state, u32 *pLockStatus) { int status = -EINVAL; @@ -6398,7 +6397,7 @@ static int drxk_read_status(struct dvb_f return -EAGAIN; *status = 0; - GetLockStatus(state, &stat, 0); + GetLockStatus(state, &stat); if (stat == MPEG_LOCK) *status |= 0x1f; if (stat == FEC_LOCK) -- Jean Delvare -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html