* [media] drxk_hard: Drop unused parameter
@ 2013-03-20 13:43 Jean Delvare
0 siblings, 0 replies; only message in thread
From: Jean Delvare @ 2013-03-20 13:43 UTC (permalink / raw)
To: Linux Media; +Cc: Mauro Carvalho Chehab
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(-)
--- 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-03-20 13:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-20 13:43 [media] drxk_hard: Drop unused parameter Jean Delvare
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox