From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A409AC43463 for ; Fri, 18 Sep 2020 20:26:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EBCB8208C3 for ; Fri, 18 Sep 2020 20:26:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="iec4uTaS" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726118AbgIRU0W (ORCPT ); Fri, 18 Sep 2020 16:26:22 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:41302 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726187AbgIRU0W (ORCPT ); Fri, 18 Sep 2020 16:26:22 -0400 Received: from localhost.localdomain (cpc89244-aztw30-2-0-cust3082.18-1.cable.virginm.net [86.31.172.11]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 1012DA1D; Fri, 18 Sep 2020 22:26:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1600460780; bh=w5KudxK37avfe1btWv5TNhq2/dwZVGEJodKtdg5AAlE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iec4uTaSnAelzIOmnHHcIbuAd3fY0AK+1I/GlFCXCDIajybdIn67FE8mAJQdYfRDx Pyzqj9k2zyHx0ehHtCljC5tv5hm+mc2LYIMTBGC/33eGbQhu72wBK1yObVn2woZl2v eKyE/h3e13BsJMDSUGuEzgeqCot34FEMbsIZ9IRw= From: Kieran Bingham To: Laurent Pinchart , linux-renesas-soc@vger.kernel.org Cc: Kieran Bingham Subject: [PATCH 1/3] scripts: vsp-lib.sh: Remove unused variable Date: Fri, 18 Sep 2020 21:26:14 +0100 Message-Id: <20200918202616.55977-2-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200918202616.55977-1-kieran.bingham@ideasonboard.com> References: <20200918202616.55977-1-kieran.bingham@ideasonboard.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org The dev identifier is not used until after a media device has been selected, at which point the vsp1_device function is re-called. Remove the redundant assignment. Signed-off-by: Kieran Bingham --- scripts/vsp-lib.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/vsp-lib.sh b/scripts/vsp-lib.sh index a8898e80a879..04a8127f6073 100755 --- a/scripts/vsp-lib.sh +++ b/scripts/vsp-lib.sh @@ -1040,8 +1040,6 @@ test_init() { local best_mdev= for mdev in /dev/media* ; do - dev=$(vsp1_device $mdev) - local match='true' for feature in $features ; do $(vsp1_has_feature "$feature") || { -- 2.25.1