From patchwork Fri Jun 24 05:40:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiner Kallweit X-Patchwork-Id: 9196663 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7AF306127B for ; Fri, 24 Jun 2016 05:40:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6E37F28489 for ; Fri, 24 Jun 2016 05:40:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 62FC928495; Fri, 24 Jun 2016 05:40:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 204DC28492 for ; Fri, 24 Jun 2016 05:40:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751249AbcFXFkr (ORCPT ); Fri, 24 Jun 2016 01:40:47 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:33995 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751104AbcFXFk2 (ORCPT ); Fri, 24 Jun 2016 01:40:28 -0400 Received: by mail-wm0-f65.google.com with SMTP id 187so2193140wmz.1 for ; Thu, 23 Jun 2016 22:40:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:subject:to:cc:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=YY6+KLDHDIe5UfNVCgk84JfEOSx5BI13V7qnogie6yM=; b=RPPe7FcDUgOia4x5ZrbW9WoPQd0RJkiDZrt3q2b+5G5jcT3nJ+nbivntmddL3QpO5f N8DX7RQUHqBS+I3mP3hjT8uFXfaWyN0hSajo7RpRvl4Fm4A0peNirxofljLeX2tqZ9Bc OwybhZMq7/H097NM5LgCDpFZV1N+Hic0GbCuaAVGQPIslg38k5QvfiM7weqabTnjJq92 8TT5mkCVqlpQ4279HpeATQj9gi/xU3ju3tirtvZXTnNdDxmP7xTX8wYuyG5FEOb6S6Y/ 2N2CAbqri7esqoPU7hNh6MS1fPC6eZQMjaoRZqdKIfZL0wUlPCvCoZWu4ju3Z+Ig36mj x4sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:subject:to:cc:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=YY6+KLDHDIe5UfNVCgk84JfEOSx5BI13V7qnogie6yM=; b=ZOkcRmaVptsMIeTgONUmD3ZFaF3QUSZQ5b3zMmxVoKCo2BEC0VmaBUAVMcBhJUUONU n4FGa2es185u+hU+ngqrc5jncsoLb5jT+gRdr+RXO6YHCL3wil/DMh7irlf0i9d3ms9X uQgyyJG+QUrLE7O4fWllWYUl3JbxzWdR6eE+Iq8UFtRyPkZpaeYQDg4GqTuelaj8WSKy 47Y7cV5dAkrjE2av8bnEcXUTX7RCTyjBhCGgkinFtSjWznE0iqijqdDffoJbNe+y48QN xLzHxHfcrXRyukoKJkcPTxRsHP2WTeZOTt4X7X02Ftxl9AMLBCsecfKJ7E3zG/+nXnbM PyOw== X-Gm-Message-State: ALyK8tKBQdE2wLaOQPiYK7AnuppuZ2YLZYO5xYufiIFxGa6syuDOa7jfOPjy7XvjKSx/Jw== X-Received: by 10.194.88.136 with SMTP id bg8mr2103144wjb.68.1466746827367; Thu, 23 Jun 2016 22:40:27 -0700 (PDT) Received: from ?IPv6:2003:62:5f01:4400:1482:e189:e8da:8d18? (p200300625F0144001482E189E8DA8D18.dip0.t-ipconnect.de. [2003:62:5f01:4400:1482:e189:e8da:8d18]) by smtp.googlemail.com with ESMTPSA id ej9sm3363278wjd.7.2016.06.23.22.40.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Jun 2016 22:40:27 -0700 (PDT) From: Heiner Kallweit Subject: [PATCH 9/9] media: rc: nuvoton: remove two unused elements in struct nvt_dev To: Mauro Carvalho Chehab Cc: linux-media@vger.kernel.org Message-ID: Date: Fri, 24 Jun 2016 07:40:02 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP These two fields are not used and can be removed. Signed-off-by: Heiner Kallweit --- drivers/media/rc/nuvoton-cir.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/media/rc/nuvoton-cir.h b/drivers/media/rc/nuvoton-cir.h index 65324ef..acf735f 100644 --- a/drivers/media/rc/nuvoton-cir.h +++ b/drivers/media/rc/nuvoton-cir.h @@ -111,12 +111,8 @@ struct nvt_dev { u8 chip_minor; /* hardware features */ - bool hw_learning_capable; bool hw_tx_capable; - /* rx settings */ - bool learning_enabled; - /* carrier period = 1 / frequency */ u32 carrier; };