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: 9301635 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 DFC32607EE for ; Fri, 26 Aug 2016 15:35:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D159D2953E for ; Fri, 26 Aug 2016 15:35:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C575E295AB; Fri, 26 Aug 2016 15:35:34 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 584992953E for ; Fri, 26 Aug 2016 15:35:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752288AbcHZPfd (ORCPT ); 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 X-Virus-Scanned: ClamAV using ClamSMTP 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") Acked-by: Wolfram Sang --- drivers/video/fbdev/mb862xx/mb862xx-i2c.c | 2 -- 1 file changed, 2 deletions(-) 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;