Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3517110pxb; Mon, 9 Nov 2020 13:21:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJyEmdBqdh0Yj/n9Rs9MdHKUMoSSQ7Dk/eU2JUwm7U8LM5kIknyCDzmaU+qZCwZV86pJyj9u X-Received: by 2002:aa7:dd45:: with SMTP id o5mr16786777edw.243.1604956882287; Mon, 09 Nov 2020 13:21:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604956882; cv=none; d=google.com; s=arc-20160816; b=iNweftukVbTt++M6LeiRuy4bPKfqHpkM232iLL8tpiOpX+1upLKDYx5ok2ssvuG/dC Nag0b3meQ2viYCzlREjsDdtQ91sgTjJy0f1i/H06w6bdcs+yxUP60iEdtdthLag/sWAs RzKXE8nkj0IEXfXd+bu1KAJFYLW39udhVd8PfcjCiAgp9Hl19Rp5RGyeKZqrby0GdjZH W6XxBY3qmHyVODoRh3XXA8NXtSvG6vtVhEVLRG3+imSwDOfiIk2IhpSHypjGjXZj22qA H/zLcFacTBLFYq5IevkwEUj1ocyW11lj5nLWdo9e796FYN2aBlSYiW8QwfLKRqsGs4jr xr3Q== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=mNbwgos7EBbAiIS/whVqYV59kF6ty8MKTbhrWe3Hj/4=; b=c0zS4jeAqfegvLnZjSVrwbULXmJ6IQ2qiZyMDnyuv3hVvMWN6eUM8LIY3vBcWme2WX v11Hiwb7VSvm7/FgKZYDhPACVEs95QxLyCjVXXF7IDfrOHil3yuRFdcJYSlufIma6g/j ECwRw6SQsVSANz4Cya+jJzpRXoqKYjEPsl1tnRrPzo20A6tYs30a6HWvGYozYv1mEZ19 ybOS7zDry0vNcH/7pa4B7OB4KnBkh3hkE7twlLV34+ud5bCLKZ5xdIz6wH9/Bt+tdbBE SHFA1wQapl7YNMrbS2PdTiX/A6NXHfxSVYIwZ7Edb4WgolU3oXmn3QYrL49bylyU0xl4 AGBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vDRSOmaO; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s22si8005361edu.360.2020.11.09.13.20.59; Mon, 09 Nov 2020 13:21:22 -0800 (PST) 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=@linaro.org header.s=google header.b=vDRSOmaO; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731166AbgKIVTV (ORCPT + 99 others); Mon, 9 Nov 2020 16:19:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731122AbgKIVTU (ORCPT ); Mon, 9 Nov 2020 16:19:20 -0500 Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E31AAC0613CF for ; Mon, 9 Nov 2020 13:19:19 -0800 (PST) Received: by mail-wm1-x342.google.com with SMTP id h62so911326wme.3 for ; Mon, 09 Nov 2020 13:19:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=mNbwgos7EBbAiIS/whVqYV59kF6ty8MKTbhrWe3Hj/4=; b=vDRSOmaOWfnFuTXwEONPBcO8vJz7zF39LmqlgHPib6OIXViysSis7axMfLToI6uzcL fflPl+k/7ZFLIGyyXOLQ3TiIrfwGxSkGA9MmRO2uUcGtCt0kGjl+uBPJRp3aPomVX1BF EsHIQZXRDK9Vnv4zD/sgKAUuLnYw0kUHMXsav4ieFfUvp3ZnOj++Jot2LssQVDnBcsPx 39lCcPvgMs9bMyUsvFNk7r5g109XNQaut2J9n314ZUar9st0RyOSYygednECLaUvqshj UwCOwCaWkMWuHpYepBA4xCTKSRCE/Z6mWJww+6Zuk694xH4pxg0gQXodu1LbNfYithWA sLVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=mNbwgos7EBbAiIS/whVqYV59kF6ty8MKTbhrWe3Hj/4=; b=t96bJtkpGlfSxTBTUXBuIeEkpkkWPd8ryETCjJdXa28wyzaCOohguQxlVcf+guA5mc z7A+n/d7T/TeMSZxk9QexKLCJcWElZETtARXqhmhkusA1ELIKMqcAjbbHRY7znoz1kZX izGcUjFIJP4VKG0zQQtPcV9ktJ+yGn4XpxiMNz/nuKuUv877Gm5eXGenVpqxlhiyp6c9 oqF252++7+xg4plb2HLqomPTkagr/GDfzI6bLg4Df+Dg42zlU/G8gtUNfjKvel3nOW6i xHsGXTMoTkzWRsLftS01VohW9bNFTq3jaqPA1M4HI9KzbP5DORkwpPV6l9PbNtWBNXwe S8zw== X-Gm-Message-State: AOAM530ET3oB4oOBQzFbNjYF5sfwlWUfgH9I210BqNTIg/Cg81/i6skA 6eVTG1tgSlktlD9z/VBNO3Nb2g== X-Received: by 2002:a1c:9950:: with SMTP id b77mr1103869wme.123.1604956758642; Mon, 09 Nov 2020 13:19:18 -0800 (PST) Received: from dell.default ([91.110.221.139]) by smtp.gmail.com with ESMTPSA id 71sm15170630wrm.20.2020.11.09.13.19.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 13:19:18 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Alex Deucher , =?UTF-8?q?Christian=20K=C3=B6nig?= , David Airlie , Daniel Vetter , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: [PATCH 06/20] drm/radeon/radeon_connectors: Strip out set but unused variable 'ret' Date: Mon, 9 Nov 2020 21:18:41 +0000 Message-Id: <20201109211855.3340030-7-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201109211855.3340030-1-lee.jones@linaro.org> References: <20201109211855.3340030-1-lee.jones@linaro.org> 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 Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/radeon/radeon_connectors.c: In function ‘radeon_setup_mst_connector’: drivers/gpu/drm/radeon/radeon_connectors.c:2574:7: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/radeon/radeon_connectors.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_connectors.c b/drivers/gpu/drm/radeon/radeon_connectors.c index e308344344425..607ad5620bd99 100644 --- a/drivers/gpu/drm/radeon/radeon_connectors.c +++ b/drivers/gpu/drm/radeon/radeon_connectors.c @@ -2571,13 +2571,11 @@ void radeon_setup_mst_connector(struct drm_device *dev) return; list_for_each_entry(connector, &dev->mode_config.connector_list, head) { - int ret; - radeon_connector = to_radeon_connector(connector); if (connector->connector_type != DRM_MODE_CONNECTOR_DisplayPort) continue; - ret = radeon_dp_mst_init(radeon_connector); + radeon_dp_mst_init(radeon_connector); } } -- 2.25.1