Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp229767pxf; Wed, 31 Mar 2021 01:41:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxtuGtkUotmxpoGHPlb01I1SY5Odpdg1MNWGkgIeYcVC8oApeJzlpucNrS6VL+RsoZz1RPV X-Received: by 2002:a17:906:4b0e:: with SMTP id y14mr2258019eju.393.1617180103192; Wed, 31 Mar 2021 01:41:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617180103; cv=none; d=google.com; s=arc-20160816; b=csfc2Y1R46ohb5HeLgnyb50Rz41p7XzLrgmTqpM6JvyUg8DXLw6GhNqVg1NU0+0por IH0aaORthrwqVQcyhy5msnBFkLqm/e+E/am3nUVeneWzWH6vO0BIOdC41YjUPlq0/PRG gRU20mhj3hlDS5PLYwEYlvFa4bPoEO6BT/RF2MKGhSL7TncySuCAFwiPTwVYRGF4pYu5 ybh4RZuLE1mC1yKJQlUfEwMXXf20vivCuHapXh3Ra94sSuWwvsw7xjaJRoJkdwJ9/2P4 t1+TWOu3avYD2b1/KQZ7kCUWbFOB0ojv37CHHxmPBiFZCVrOrvR17rkzYbqFT8LnBY/G uBRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=Gd1yEfRfp9acggJ+LpA1u8UzNOGEMZUtbNMdtcgwVmk=; b=C9V1XyHDDeqT0atteVxPh8DtHHB1HqLwF65FkHwmuB928bkXgiWg++8Hl0GUuYDnrb 6EATF06S2+KJkSp7tMYSxbuHiH77NmanZduy+Kt7fbwemUeu8vwnp2akUAjMc+qXLlkt e2ODRVk4XIHEBeB3Ys/dAK8sbsoRKq5+ofuZdwNX9tFPS1CPp2tSYgAMa5i7nxgO+jwE lu8FqySff+jjTLR/kz1z/5P2xCjSi04kQ19DxkrGtmwq/rT7vnkRH9OCS0k299l5UWDD MYrJKlWliP436LdozUOteSnuhWGfY1Vz/Lv6T5DoCfeHR//JDrlzvMlvbwDzsLR97jrW mKRQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h7si1257730edt.553.2021.03.31.01.41.20; Wed, 31 Mar 2021 01:41:43 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234098AbhCaIkU (ORCPT + 99 others); Wed, 31 Mar 2021 04:40:20 -0400 Received: from out30-42.freemail.mail.aliyun.com ([115.124.30.42]:34972 "EHLO out30-42.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232984AbhCaIkJ (ORCPT ); Wed, 31 Mar 2021 04:40:09 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R771e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04400;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0UTwP3vq_1617180001; Received: from j63c13417.sqa.eu95.tbsite.net(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0UTwP3vq_1617180001) by smtp.aliyun-inc.com(127.0.0.1); Wed, 31 Mar 2021 16:40:07 +0800 From: Jiapeng Chong To: f.fainelli@gmail.com Cc: bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Jiapeng Chong Subject: [PATCH] soc: bcm: brcmstb: remove unused variable 'brcmstb_machine_match' Date: Wed, 31 Mar 2021 16:39:59 +0800 Message-Id: <1617179999-71706-1-git-send-email-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following clang warning: drivers/soc/bcm/brcmstb/common.c:17:34: warning: unused variable 'brcmstb_machine_match' [-Wunused-const-variable]. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/soc/bcm/brcmstb/common.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/soc/bcm/brcmstb/common.c b/drivers/soc/bcm/brcmstb/common.c index e87dfc6..2a01088 100644 --- a/drivers/soc/bcm/brcmstb/common.c +++ b/drivers/soc/bcm/brcmstb/common.c @@ -14,11 +14,6 @@ static u32 family_id; static u32 product_id; -static const struct of_device_id brcmstb_machine_match[] = { - { .compatible = "brcm,brcmstb", }, - { } -}; - u32 brcmstb_get_family_id(void) { return family_id; -- 1.8.3.1