From patchwork Fri Oct 20 17:25:48 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sean Paul X-Patchwork-Id: 10020763 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C592D60234 for ; Fri, 20 Oct 2017 17:26:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A7CB628E1D for ; Fri, 20 Oct 2017 17:26:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9CBA328F2D; Fri, 20 Oct 2017 17:26:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_SPAM autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5C23C28E1D for ; Fri, 20 Oct 2017 17:26:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=hwhthaTOZLgzwx5o27ZYsHaICbgCNxft+AraNJ80WiQ=; b=Kv+FcS1QMk19SF cHwiY03yr/zmMxK8btveEk7+0eXSjSASZpDIBKVC0cJ1do+3RMaErIu6kMcOwZy0uHNYHJFuEEzml jKxu9bGpovaHf7170cwjVZOLblIDzAud2lwvzr+4Hn2WEcOWHlSIjZlaAhWFlO2P+VD2D/qUyBAcn E24W1afaVQtg0MTmpYg385DuSbivaGSEHfmJRYkBV4b5IT+y2/+QtLvfrZVfjjBbgw3uuQzsidUkt 0LDiNC/e2XXodk3lojb8bBJyaGFtrhLSXeWkpRsQZAWe7GUia32R7DJzVMBTmUvZTESEwElZiaiBO 45yXsxPBI547G5aTrMBw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1e5b40-0002q7-BT; Fri, 20 Oct 2017 17:26:28 +0000 Received: from mail-io0-x241.google.com ([2607:f8b0:4001:c06::241]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1e5b3t-0002mD-AU for linux-arm-kernel@lists.infradead.org; Fri, 20 Oct 2017 17:26:25 +0000 Received: by mail-io0-x241.google.com with SMTP id p186so13949630ioe.12 for ; Fri, 20 Oct 2017 10:26:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=y4Ko+/HW2NpycvN18yFBF8bnVmT/TwgPCsz0cx3nnA0=; b=Y3xd3dm2qPIQrQ1z7N/hQomELGV6DmaDR7DOD2ADnTn8j5AR5C1alF0KEznj4FPIRn 2xXlSSD4ZdaEI2uMW6eI7JT0Qo5HzzfWtM2HUFOqExRlHakqzpYSJc+z6Qt8+JlaxqFe /ILt2m4VcC40gAwG7Bl7Yn+HJUg8g1j5I9YPU= 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:mime-version :content-transfer-encoding; bh=y4Ko+/HW2NpycvN18yFBF8bnVmT/TwgPCsz0cx3nnA0=; b=B2WU1wXYLkLkhDV8iqXqCpFkfRHlWCALgZExACwAufYwK19que/WiypxS5RkQb+xfB ivYgevjMWlI5Icgg0mIhgfrlagXaEvWnO0jYf1ZwAZpc+Bi61pDw0WOtav4N1ytwsavy WMFneIb6zKXqga+6oph/aFQChu6TBdT1KRX4fR+EeKtcs9GFJDlNnAgXd20L5OoADQdH CwvCJ5MemMv1erBGtY1HYuLe5SNmglmtEKAD3D4WmrRLPTf9+fyjY01VdSHcgBAbFX7A FEESH9v5fnnMZLSk19SlAcXFnKGfMCC6MwfJAvx78jkWHCAn6hVj+KJRu22THZXQWO5L k1xA== X-Gm-Message-State: AMCzsaVmyAdHERu1DUsdmuTscVkmPKPfevCh6VeQOVrCH6xIGbjsZ/f+ uVLrGJxv6J9n1+NvRO9UtkRjVg== X-Google-Smtp-Source: ABhQp+RQ2JIUvX/VE6HauFZvOW0lN2xiw+7vNcjWshdxnK1nEGgWzVzyPjp/nEKGiu0YPz2FxLRiyw== X-Received: by 10.107.138.10 with SMTP id m10mr7736369iod.164.1508520360196; Fri, 20 Oct 2017 10:26:00 -0700 (PDT) Received: from rosewood.cam.corp.google.com ([2620:0:1013:0:f685:3152:9ba1:429a]) by smtp.gmail.com with ESMTPSA id 194sm751150ito.20.2017.10.20.10.25.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Oct 2017 10:25:59 -0700 (PDT) From: Sean Paul To: dri-devel@lists.freedesktop.org, Jeffy Chen Subject: [PATCH] drm/rockchip: Fix build warning in analogix_dp-rockchip.c Date: Fri, 20 Oct 2017 13:25:48 -0400 Message-Id: <20171020172557.54900-1-seanpaul@chromium.org> X-Mailer: git-send-email 2.15.0.rc0.271.g36b669edcc-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171020_102623_017262_5E55E32F X-CRM114-Status: GOOD ( 10.03 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-rockchip@lists.infradead.org, Sean Paul , Heiko Stuebner , linux-arm-kernel@lists.infradead.org, Mark Yao Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP I didn't catch this before applying, just right after (of course). Fixes: ../drivers/gpu/drm/rockchip/analogix_dp-rockchip.c: In function ‘rockchip_dp_of_probe’: ../drivers/gpu/drm/rockchip/analogix_dp-rockchip.c:276:6: warning: unused variable ‘ret’ [-Wunused-variable] int ret; ^~~ Fixes: 102712a32ff5 ("drm/rockchip: analogix_dp: Remove unnecessary init code") Cc: Jeffy Chen Cc: Mark Yao Cc: Sean Paul Cc: Heiko Stuebner Cc: dri-devel@lists.freedesktop.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-rockchip@lists.infradead.org Signed-off-by: Sean Paul --- drivers/gpu/drm/rockchip/analogix_dp-rockchip.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c b/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c index 8cae5ad926cd..39944c0f1c0b 100644 --- a/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c +++ b/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c @@ -273,7 +273,6 @@ static int rockchip_dp_of_probe(struct rockchip_dp_device *dp) { struct device *dev = dp->dev; struct device_node *np = dev->of_node; - int ret; dp->grf = syscon_regmap_lookup_by_phandle(np, "rockchip,grf"); if (IS_ERR(dp->grf)) {