From patchwork Wed Mar 20 13:43:21 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean Delvare X-Patchwork-Id: 2307611 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id C43C03FC54 for ; Wed, 20 Mar 2013 13:43:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752066Ab3CTNna (ORCPT ); Wed, 20 Mar 2013 09:43:30 -0400 Received: from zoneX.GCU-Squad.org ([194.213.125.0]:18943 "EHLO services.gcu-squad.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751725Ab3CTNna (ORCPT ); Wed, 20 Mar 2013 09:43:30 -0400 Received: from jdelvare.pck.nerim.net ([62.212.121.182] helo=endymion.delvare) by services.gcu-squad.org (GCU Mailer Daemon) with esmtpsa id 1UIJIc-0008LD-Pa (TLSv1:AES128-SHA:128) (envelope-from ) ; Wed, 20 Mar 2013 14:43:26 +0100 Date: Wed, 20 Mar 2013 14:43:21 +0100 From: Jean Delvare To: Linux Media Cc: Mauro Carvalho Chehab Subject: [media] drxk_hard: Drop unused parameter Message-ID: <20130320144321.1095091f@endymion.delvare> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.7; x86_64-suse-linux-gnu) Mime-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Last parameter of function GetLockStatus() isn't used so drop it. Signed-off-by: Jean Delvare Cc: Mauro Carvalho Chehab --- 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)