Skip to content

Commit

Permalink
[media] drxk_hard: Drop unused parameter
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jean Delvare authored and Mauro Carvalho Chehab committed Mar 23, 2013
1 parent ced9b21 commit a3ad56d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/media/dvb-frontends/drxk_hard.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit a3ad56d

Please sign in to comment.