diff mbox

[media] drxk_hard: Drop unused parameter

Message ID 20130320144321.1095091f@endymion.delvare (mailing list archive)
State New, archived
Headers show

Commit Message

Jean Delvare March 20, 2013, 1:43 p.m. UTC
Last parameter of function GetLockStatus() isn't used so drop it.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
---
 drivers/media/dvb-frontends/drxk_hard.c |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
diff mbox

Patch

--- 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)