Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp662951pxj; Tue, 18 May 2021 11:17:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx6BYpinTtbDeW/4iLEnccgPIiZyiskIdIvWGLT0MmHVaEvp3tuEouPNi1/GCC3gcEKNn8r X-Received: by 2002:a17:906:268c:: with SMTP id t12mr7214211ejc.441.1621361837657; Tue, 18 May 2021 11:17:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621361837; cv=none; d=google.com; s=arc-20160816; b=k3xwmzif8tmMShsGDL4riuEzDM+c1mdisb0Y2usznsUqat+ZE1IGwnZLtqBI3kMaEb zmJ+kE+27KI1G0h0an3xzb0eVpYr4Tyx8Bv38AzCOY2n64gAahXKQbU06dsORbZeVu4P I/wjF+lXTvHq/nlKFQjnISt22M1OFhz3iVyllnRt2uho67Nb0mW4cW1ISM8U7VFlTuE/ 3zdZj0wNYYoqWKFqCmTPc3+Sm/KhGKnTKx2cvZ/HxpVRkkC1mJ4fICbrwvf0CUW5YEif zaBYjsdEn+pHzdE6+HheAIB32cKCpn/bGeLZsKT/QG7MWAOK4o2g+sl93j5yMuxulUB3 JWGg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=8vvQ3SQxUCSKm9x8MrjczldF9s7+QIhCN06dn4qc0uc=; b=xAHuUMvH81ET4aMXsruREHTFEqcW0Tnzyr8bR/FgzARYXbmkPZC08YXcwxqGUc7FFw oZcnbOmNzNrRPJ0403tJsa7WuMSNO1rfZ7FRq5zAhSjf8JmIblWdiA+8LYq7y01jn1PJ pbRaKdpKJwyk2f5qglQPmORkbOPZKECsDaFAvf36bqr64PeHzsZtW/naXKadskSMombr sj1hKw7AW3mfeB9myKM+8/F9c+JJXpCk/fEScu5fLU0T2F4bjtDe1X0f4mP9yzXXec4L eUV1J3K5QA075p2han+DcEst3qfBprKt+TKWFUqmtwq63Y7eMS29QTfjUGXXhhaqS1B0 BoMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Ksa01dzi; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y16si4337528edu.586.2021.05.18.11.16.52; Tue, 18 May 2021 11:17:17 -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=@linuxfoundation.org header.s=korg header.b=Ksa01dzi; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345624AbhEQQNd (ORCPT + 99 others); Mon, 17 May 2021 12:13:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:36780 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344009AbhEQPtq (ORCPT ); Mon, 17 May 2021 11:49:46 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1286761D48; Mon, 17 May 2021 14:45:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621262730; bh=+6mSZR8I9erVDXuGgE3bnDP4G0hXIV/fcvao60XbwlE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ksa01dzihdUc+dptb1Xw5NubYeA9eaRpuEqwbh0U5kb/kawjyrDAZza+0N5P2wkzA eMRs6U8fTQZQkwC8mOjFh7b+VIXDbj63GjvR+JAxiNqnT/aLLLlf3Izsj6XVNi0O61 GjXIRphhvf7c0SkgcSLt+8SrIG7o8RgSoBWL/qDQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kernel test robot , Fabio Estevam , Ezequiel Garcia , Hans Verkuil , Mauro Carvalho Chehab Subject: [PATCH 5.10 282/289] media: rkvdec: Remove of_match_ptr() Date: Mon, 17 May 2021 16:03:27 +0200 Message-Id: <20210517140314.634915079@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210517140305.140529752@linuxfoundation.org> References: <20210517140305.140529752@linuxfoundation.org> User-Agent: quilt/0.66 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: Fabio Estevam commit c2357dd9cbafc8ed37156e32c24884cfa8380b2f upstream. When building with CONFIG_OF not set, the following clang build warning is seen: >> drivers/staging/media/rkvdec/rkvdec.c:967:34: warning: unused variable 'of_rkvdec_match' [-Wunused-const-variable] Fix the warning by removing the unnecessary of_match_ptr(). Reported-by: kernel test robot Fixes: cd33c830448b ("media: rkvdec: Add the rkvdec driver") Signed-off-by: Fabio Estevam Reviewed-by: Ezequiel Garcia Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Greg Kroah-Hartman --- drivers/staging/media/rkvdec/rkvdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/staging/media/rkvdec/rkvdec.c +++ b/drivers/staging/media/rkvdec/rkvdec.c @@ -1107,7 +1107,7 @@ static struct platform_driver rkvdec_dri .remove = rkvdec_remove, .driver = { .name = "rkvdec", - .of_match_table = of_match_ptr(of_rkvdec_match), + .of_match_table = of_rkvdec_match, .pm = &rkvdec_pm_ops, }, };