From patchwork Fri Aug 26 15:32:33 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 101923 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp415872qga; Fri, 26 Aug 2016 08:35:34 -0700 (PDT) X-Received: by 10.98.64.93 with SMTP id n90mr7181563pfa.29.1472225734561; Fri, 26 Aug 2016 08:35:34 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id lo4si21709404pab.269.2016.08.26.08.35.34; Fri, 26 Aug 2016 08:35:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-fbdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-fbdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-fbdev-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752288AbcHZPfd (ORCPT + 2 others); Fri, 26 Aug 2016 11:35:33 -0400 Received: from mout.kundenserver.de ([217.72.192.75]:63771 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751139AbcHZPfc (ORCPT ); Fri, 26 Aug 2016 11:35:32 -0400 Received: from wuerfel.lan. ([176.0.135.42]) by mrelayeu.kundenserver.de (mreue102) with ESMTPA (Nemesis) id 0MYvnH-1bZeEv1wpv-00VgCQ; Fri, 26 Aug 2016 17:32:54 +0200 From: Arnd Bergmann To: Tomi Valkeinen Cc: Arnd Bergmann , Jean-Christophe Plagniol-Villard , Wolfram Sang , linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] video: fbdev: mb862xx: remove unused variable Date: Fri, 26 Aug 2016 17:32:33 +0200 Message-Id: <20160826153252.722636-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:4/mauu5m1EodCujadebz+ouOxY3ZEd9XDjbDXnnDJPN5wLPkbB/ Bxt31MTdBWz8BW6Qc1M6byGOZmDOqN+94YDTTTdrTZd7fMU7xX7vTbV4IitkwwpZj50JyoD xDpnSYi4vvmfMx6DN59RxBc3lQ4JAFXtTegxnZgJjlkMY8oqCFWbR07scs7zzxvS8fEEjHG QqlccozusncaxXHscWXUw== X-UI-Out-Filterresults: notjunk:1; V01:K0:Rk3dFC5g7YI=:2uf4omenwPiL28/ngmX4rR hTDs5EojE4GuWnTCl56V0foJ3A1Gz/93nmyDXB8+FvfRSpxEUPNy++5aBR0XliO/iOgC3Jh9w ieBjnKSB4HLbPOo0zn1dtJiUghcnwJaTSyUDkA9Cx9z8lFTJ6lpDOQqjZL0wN+sad+4h08n5Q xq4ImlpedBmRImiErf3M3Sv6UsE+ZdurZ2dOiSGVf+4LLKvCd5Vsxo7RKO1g2OGDZ6ztyo5aB GUsfNWrdn6R9Xw/hvQn56/6ROX191uSJ9u3Bj122SPPxR5Q9jx8VNc3qJPuDABdY+LCTEtlOe uW7GSSiM42pZSkkgyPnmmLRTebp6TIWaIEXI4zaENxLErjbbRxTd7DmsckFG+RWpRnEtHIThg uXgqElQMdKam6XX6Tpl24FTxaCtWSV7RaZ/fMrxLQdJvqPySzSM7fx2taQHHpkLFl5QhEDGv7 /9Ixhvw8lffXXSHjL9exxFNLJCb3tmlnxiR4gSfXg5IUDZaMVDJL2YfQe13JZSJPs3HGg2vnY gS23wRC82Y0weIlcsSitcArKLyJpZ2xnLTLEJ5NEDYUr+EW93irHXakE/J00Masz005AUeugw 8B5vWwJUTLDRnyIbmlpu8Qq0s/WzkKKZBQ6p4K5UvPCZwnP+35jvsPwPU0B2QmbN172NIZ+JJ 60xvP4g3a4h/fPwZFrkiXCJnnLux4Or+r3SbgZEFZnALWOffbOr/qL6eEnpXWvtVV1pM= Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org A cleanup patch that removed some code left behind an unused variable: drivers/video/fbdev/mb862xx/mb862xx-i2c.c: In function 'mb862xx_i2c_init': drivers/video/fbdev/mb862xx/mb862xx-i2c.c:160:6: error: unused variable 'ret' [-Werror=unused-variable] This removes that variable as well. Signed-off-by: Arnd Bergmann Fixes: 6b610e004baf ("video: fbdev: mb862xx: mb862xx-i2c: don't print error when adding adapter fails") --- drivers/video/fbdev/mb862xx/mb862xx-i2c.c | 2 -- 1 file changed, 2 deletions(-) -- 2.9.0 -- To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/video/fbdev/mb862xx/mb862xx-i2c.c b/drivers/video/fbdev/mb862xx/mb862xx-i2c.c index 76d206857e3e..ba96c44f2761 100644 --- a/drivers/video/fbdev/mb862xx/mb862xx-i2c.c +++ b/drivers/video/fbdev/mb862xx/mb862xx-i2c.c @@ -157,8 +157,6 @@ static struct i2c_adapter mb862xx_i2c_adapter = { int mb862xx_i2c_init(struct mb862xxfb_par *par) { - int ret; - mb862xx_i2c_adapter.algo_data = par; par->adap = &mb862xx_i2c_adapter;