From patchwork Thu Feb 12 22:11:47 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luis de Bethencourt X-Patchwork-Id: 5822381 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id A677E9F3CA for ; Thu, 12 Feb 2015 22:12:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A8BFF20254 for ; Thu, 12 Feb 2015 22:12:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 387822022A for ; Thu, 12 Feb 2015 22:12:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751733AbbBLWLv (ORCPT ); Thu, 12 Feb 2015 17:11:51 -0500 Received: from mail-wi0-f175.google.com ([209.85.212.175]:50949 "EHLO mail-wi0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751188AbbBLWLu (ORCPT ); Thu, 12 Feb 2015 17:11:50 -0500 Received: by mail-wi0-f175.google.com with SMTP id r20so7906255wiv.2; Thu, 12 Feb 2015 14:11:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:date:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=5mCxLw4KA6+ByWnIR7RH+AcqYP38o532bYoctdUFHtY=; b=YtGhmnaS5XkScGduMdBHDLOX2NFKyzLTkQMKV8ZWU0d0run4zhypUVz/5NQd2laEGU vPrE8+AP4FbH+mR9T4GSXqbD9JtgFmAS2HVrYg4Cin/42FrcmweNXRsxi/n/JdseJ1Zi rXjUtpB5rYJyv+B+LpiBJoDecivDzXrG+mdu2eFIQcb4cFsqROQHr9hTU8qjy5yx0/o8 5Zp+hbPJqQU0PDFDUaTchbNnrA4K1iSTXlAT8Vx/6r8clqjWTcnTX0sVt1BMVcc/nU57 cO3F5DjwiaHV0DF4O5uKkBiUlx9ucUxy0SqYqQ34u0VnxMpAF7tjQfB8KNjfjL/YqKlD hIrw== X-Received: by 10.194.190.111 with SMTP id gp15mr12448944wjc.132.1423779109153; Thu, 12 Feb 2015 14:11:49 -0800 (PST) Received: from localhost (cpc9-slam5-2-0-cust824.2-4.cable.virginm.net. [81.108.163.57]) by mx.google.com with ESMTPSA id ha1sm238476wib.24.2015.02.12.14.11.47 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Feb 2015 14:11:48 -0800 (PST) From: Luis de Bethencourt X-Google-Original-From: Luis de Bethencourt Date: Thu, 12 Feb 2015 22:11:47 +0000 To: linux-media@vger.kernel.org Cc: mchehab@osg.samsung.com, david@hardeman.nu, james.harper@ejbdigital.com.au, linux-kernel@vger.kernel.org Subject: [PATCH] dib0700: remove unused macros Message-ID: <20150212221147.GA12614@turing> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Remove unused macros RC_REPEAT_DELAY and RC_REPEAT_DELAY_V1_20 Signed-off-by: Luis de Bethencourt --- drivers/media/usb/dvb-usb/dib0700_core.c | 3 --- drivers/media/usb/dvb-usb/dib0700_devices.c | 3 --- 2 files changed, 6 deletions(-) diff --git a/drivers/media/usb/dvb-usb/dib0700_core.c b/drivers/media/usb/dvb-usb/dib0700_core.c index 50856db..2b40393 100644 --- a/drivers/media/usb/dvb-usb/dib0700_core.c +++ b/drivers/media/usb/dvb-usb/dib0700_core.c @@ -651,9 +651,6 @@ out: return ret; } -/* Number of keypresses to ignore before start repeating */ -#define RC_REPEAT_DELAY_V1_20 10 - /* This is the structure of the RC response packet starting in firmware 1.20 */ struct dib0700_rc_response { u8 report_id; diff --git a/drivers/media/usb/dvb-usb/dib0700_devices.c b/drivers/media/usb/dvb-usb/dib0700_devices.c index e1757b8..d7d55a2 100644 --- a/drivers/media/usb/dvb-usb/dib0700_devices.c +++ b/drivers/media/usb/dvb-usb/dib0700_devices.c @@ -510,9 +510,6 @@ static int stk7700ph_tuner_attach(struct dvb_usb_adapter *adap) static u8 rc_request[] = { REQUEST_POLL_RC, 0 }; -/* Number of keypresses to ignore before start repeating */ -#define RC_REPEAT_DELAY 6 - /* * This function is used only when firmware is < 1.20 version. Newer * firmwares use bulk mode, with functions implemented at dib0700_core,