[media] drxk_hard: Drop unused parameter
authorJean Delvare <khali@linux-fr.org>
Wed, 20 Mar 2013 12:43:21 +0000 (12:43 +0000)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 23 Mar 2013 13:44:31 +0000 (10:44 -0300)
Last parameter of function GetLockStatus() isn't used so drop it.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb-frontends/drxk_hard.c

index 55a4c22ac2d4323491681d3c6d709a37f741a299..ec24d71e153dc9ae3caa3c70cebe3f3edcf9418b 100644 (file)
@@ -1947,8 +1947,7 @@ static int ShutDown(struct drxk_state *state)
        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;
 
@@ -6488,7 +6487,7 @@ static int drxk_get_stats(struct dvb_frontend *fe)
 
        /* get status */
        state->fe_status = 0;
-       GetLockStatus(state, &stat, 0);
+       GetLockStatus(state, &stat);
        if (stat == MPEG_LOCK)
                state->fe_status |= 0x1f;
        if (stat == FEC_LOCK)