Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4755850pxb; Thu, 14 Oct 2021 11:18:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyTNHJaN4bB47P+noCIshjRh//G/BTymW5sBd+UOR37+0vHW5oxKiQgNtZ7HKQ8d5f+dm9S X-Received: by 2002:a05:6402:5215:: with SMTP id s21mr10764860edd.113.1634235509255; Thu, 14 Oct 2021 11:18:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634235509; cv=none; d=google.com; s=arc-20160816; b=0tphNbqdzFPuipjX43AYCEUjLKsyObiG309S0dnjfllRqlQ2SrFHS00K4cW1yB5y1C 5sohaCPhtsd0HPrz57oT+scaVOdgXV4Wws4fTYoqgR69V3WcRcf+ay2lsy90csY8rN3b yhmyNzrIDBbXQAkRPxlPMxdaYpiZODULRwncZguKCzrB0oKP9qsNXyq0mZ447Xuhjsfx QPeUDdmMOeuCbHZ//qiZP9FpA7xz42dPL29y8hsa0TSi0Go7qFp+hJalcOsR/6lfiKAu BBh+/GrU20+1UJjRDJMhzOaz9km1u9mwjiKLpaQHYaHqGZgKu9qD7U3XqxgCAdtSOl4R JBIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=8xwz+QO6zjXKM+v74uWvYq9Z9yoCObRA1yTs9d8sDDI=; b=WKZOjo2M7RFT2bWrnVZhfSLu0IIMjaHG0ptn2IoYLt1DhZBKzNXiJvtzzhtNlZ+iQe rhhBnZKhQ0tS5OwG+Q0KiNSiOgBCk0tUTZR8bbH4bbb72WDL/7wBeVGuF3Bpt66t0xJ3 JGHLlE/hf2Cga+GqKllcR/f5bSn3DPAjQRpAUU4vgqch48b+qat+GzyGbTnttePX4ABW lijjYzclDJ5rQ2ZgYf2KdgM7rvQar7MS15TUhZL7W8yAbqrAWcsFQvmVteIjsSlanllE vWObLaseDV7mOOV1A9GIg84LWCCq1jPdONt+nWnfOoF61b3eiboSdeiq9bGWWSfXCZjH RJFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=ApQ2YrxA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g6si4665874ejx.444.2021.10.14.11.18.03; Thu, 14 Oct 2021 11:18:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=ApQ2YrxA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233712AbhJNPOs (ORCPT + 99 others); Thu, 14 Oct 2021 11:14:48 -0400 Received: from smtp-relay-canonical-1.canonical.com ([185.125.188.121]:41788 "EHLO smtp-relay-canonical-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232204AbhJNPOo (ORCPT ); Thu, 14 Oct 2021 11:14:44 -0400 Received: from localhost (1.general.cking.uk.vpn [10.172.193.212]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-1.canonical.com (Postfix) with ESMTPSA id D343C40013; Thu, 14 Oct 2021 15:12:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1634224355; bh=8xwz+QO6zjXKM+v74uWvYq9Z9yoCObRA1yTs9d8sDDI=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type; b=ApQ2YrxAKDVLw42dD5cLUJ3/ymUYA/Y7ZptOas1LNaOWgxMXh1qDEITvpY0eU7WlS 2SGdIQYfus8IGaRdWFUfyhlHn/+Xd2HvugGL9+LRfho4n8FbW3tPmLM1QBv7ls39GG nEp1cxxb+wZUw4xF9h6hQxX7LPXz4dviZFpsC61p9WpM35pefPReNm1yzsk6z1uEJk ea/YTQShVC7qMMg58kxEib+Rw1SiXfXlaAHdVDDZ9wDPdVvjpNMh19N8BQEwahFmeQ cU8q51UxPSZL3nXL0aYUo8qSsv97aFKhW0TAMjAMSk+e3NTTff3bxcEW/6r8fp+Q5L Zi4nnnJaD5ekQ== From: Colin King To: Mauro Carvalho Chehab , linux-media@vger.kernel.org Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] media: drivers: cx24113: remove redundant variable r Date: Thu, 14 Oct 2021 16:12:35 +0100 Message-Id: <20211014151235.62671-1-colin.king@canonical.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Colin Ian King Variable r is being assigned values but it is never being used. The variable is redundant and can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King --- drivers/media/dvb-frontends/cx24113.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/dvb-frontends/cx24113.c b/drivers/media/dvb-frontends/cx24113.c index 60a9f70275f7..dd55d314bf9a 100644 --- a/drivers/media/dvb-frontends/cx24113.c +++ b/drivers/media/dvb-frontends/cx24113.c @@ -378,7 +378,7 @@ static void cx24113_set_nfr(struct cx24113_state *state, u16 n, s32 f, u8 r) static int cx24113_set_frequency(struct cx24113_state *state, u32 frequency) { - u8 r = 1; /* or 2 */ + u8 r; u16 n = 6; s32 f = 0; -- 2.32.0