From: Jean Delvare <khali@linux-fr.org>
To: Linux Media <linux-media@vger.kernel.org>
Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
Subject: [media] drxk_hard: Drop unused parameter
Date: Wed, 20 Mar 2013 14:43:21 +0100 [thread overview]
Message-ID: <20130320144321.1095091f@endymion.delvare> (raw)
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
reply other threads:[~2013-03-20 13:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130320144321.1095091f@endymion.delvare \
--to=khali@linux-fr.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox