Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp252106pxj; Tue, 18 May 2021 02:30:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZVnvA90ibX+UzExUbvCSbW4JET7KHjcTPnjHt8Om27kgEoh32MfFg74x2mbrk7Qg+lTxn X-Received: by 2002:a02:c856:: with SMTP id r22mr4466894jao.118.1621330250456; Tue, 18 May 2021 02:30:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621330250; cv=none; d=google.com; s=arc-20160816; b=JoINpSUDSSxCQHdJSbM1XA1mOk9lPWS2NVgJYRqvirZSzL81ie+acgd3t8DnRGaBbt 0vT7DPbPmBoD3mqENHPNRDeWxj39LGv5VvL2asFhzmFYauS2oCbLox/GWpqGwi6SsF0C ZlVjYb7z3RQXPSHdwjXoGofplNIrbGfXNj4xgqufwDEFkHwCosKns87kMoAduXnVrEt6 1uadbXNYTzFLQJ2O8c1f2AFa4cRPX8E/NAvu23/wQWsEBfoywfHa6PxI4hlt76p8/mI/ z9W+/IEhjeyszGX1MtMWwCa9oCUBPwLr8uty296K1ct3cuLuVIzbzOgqf81gw64uSseU oDlg== 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=nk1/sxSsKcbHCNa90wSw6UAJAfKGr35/YlNuBY33MOE=; b=HwwnSJgiFk3nVaoytdxZaGvN92ET0USJCAk00JzgDGHc8rOdPG1rCxtson2QvOcFjJ p+TE2HK8dntzrpYk8ubeSvx1bKGkxZaNAwxoxgr7Bv1mNhcCYkRS0+cpWsxUmXc+RNEN m9391bpWBmpdI9vhlSzOW/xMBrVu0AGt5OSwbE4NLsjx1D0i2que+8zvCvsmFHintiWB cGckbgCK8yRPN+hAxq/GkpnQQyoX4Iz30sEjQHy7vwEJ3f27/iMqwa/8o8eLTG+x0PCe kIxvYEDuiWJa3JOEWmeXi5IgJRAaYxI17ktTEtnqTuoAt6LTW6zxfZKaRBxnRcL4ewlE 51ZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=kbVLHqrS; 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 z20si19253155ioe.51.2021.05.18.02.30.38; Tue, 18 May 2021 02:30:50 -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=kbVLHqrS; 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 S242159AbhEQPG3 (ORCPT + 99 others); Mon, 17 May 2021 11:06:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:49488 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239643AbhEQO46 (ORCPT ); Mon, 17 May 2021 10:56:58 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id DDA5F61468; Mon, 17 May 2021 14:25:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621261534; bh=R1Fvj/L7WXR8WMm7RlsYiWv6gaCSm3yqHPRsfjL1YJY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kbVLHqrSs+nnF7yCS2+EqEs3y6kAwzB/+T8FaO/iIgSkzYGkvmorR0zvn6dW06ILL xjzYi+IuLS2mDfLSzrUoZziQWnSw7VYLBOrWY8hF+0dfLJWLHL+9DH/8PzXFBpQ7n/ vIXkrgY+RNcBT8ZVkoyaIHC4s9JKJcgNVS1LJlGM= 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.12 352/363] media: rkvdec: Remove of_match_ptr() Date: Mon, 17 May 2021 16:03:38 +0200 Message-Id: <20210517140314.493835461@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210517140302.508966430@linuxfoundation.org> References: <20210517140302.508966430@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 @@ -1072,7 +1072,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, }, };