From patchwork Wed May 25 12:19:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudip Mukherjee X-Patchwork-Id: 9135851 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 92E99607D5 for ; Wed, 25 May 2016 16:50:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6B50627E72 for ; Wed, 25 May 2016 16:50:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5E13528255; Wed, 25 May 2016 16:50:04 +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=-5.2 required=2.0 tests=BAYES_00, DATE_IN_PAST_03_06, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,FREEMAIL_FROM,RCVD_IN_DNSWL_HI, T_DKIM_INVALID 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 DFE8F27E72 for ; Wed, 25 May 2016 16:50:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754989AbcEYQuD (ORCPT ); Wed, 25 May 2016 12:50:03 -0400 Received: from mail-pa0-f66.google.com ([209.85.220.66]:35420 "EHLO mail-pa0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755526AbcEYQuC (ORCPT ); Wed, 25 May 2016 12:50:02 -0400 Received: by mail-pa0-f66.google.com with SMTP id gp3so5837886pac.2; Wed, 25 May 2016 09:50:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=KTjf0fYtbE5STF/YNESS/TZgM0M2S76Mw9xk3su4XRk=; b=swrrObtpV4Kf9UHf6lb3GTAw4zyLHuDAE2x2JyYYgrW6884eCbbCaQqUB+JJWHbdOY c1MtFTC9LWRfahC/yvH1XoV0/jCa1ICBwVi9gHwTKIvafncGQrC3Y9sGbMAQ4KQxhNFR 35a9PDBofJYxdApIh7/uAFYkvuDda1J00WlmTlkA39FQEYLabMOLp3+p5ekc1xLI50vE d0gTLv9vxYEtXNWqdTHZC9I5Cr/62gpvZGZ7qQZl4HOqF1Abbx3t2Qq8RdpwpmIHdK18 op2KxA7Uo1tlc++sk4FfJ5sAxIspyvVCGGekuYun2lyBgqiICVJdLgNB+vxDLuwqhW+o lUmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=KTjf0fYtbE5STF/YNESS/TZgM0M2S76Mw9xk3su4XRk=; b=KEHnIWkgfQ6iMMAqRDo1AiW1zuUV53aaSWfrJtGrBC4YZwlmocvzVsf+RUHgP+TL+l BRu8g/QXOmHQEtVl9MhUCihWjCnEVKlVt7gyUr00+chjAFZfmr2yL6WqX3q6coaF33Xj v1XHbARUMZiavjLBrUaOE+HRjSJAp2cBByNwG0v6R188r3q3SYK76Fpvoy3dwp19ODsa oKycWNOEs4eHT+jIvFdJvAWL9FNjCq4B0EUVl146Q0/mn0GO60/rvjYAi28VJQe1hz7U Y2ymqsU2N3d0O+E6y+VzOha9tUwmbjf2osLdd2ZENCtJceKtC0FHrfx6HKMRur6CjRzk Tu9Q== X-Gm-Message-State: ALyK8tIWqDTCmVuUmiNykZwSOem074ti+R03zX7xi6nRtJSoru0RD3RJV3hrEuOxEvxfqw== X-Received: by 10.66.150.70 with SMTP id ug6mr7240853pab.132.1464195001525; Wed, 25 May 2016 09:50:01 -0700 (PDT) Received: from localhost.localdomain ([103.24.124.194]) by smtp.gmail.com with ESMTPSA id 4sm29753149pfm.15.2016.05.25.09.49.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 25 May 2016 09:50:00 -0700 (PDT) From: Sudip Mukherjee To: Steve Glendinning , Jean-Christophe Plagniol-Villard , Tomi Valkeinen Cc: linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org, Sudip Mukherjee Subject: [PATCH] video: smscufx: remove unused variable Date: Wed, 25 May 2016 17:49:48 +0530 Message-Id: <1464178788-10591-1-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.9.1 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 The variable was only assigned with the pointer but was never used. We can safely remove it. Signed-off-by: Sudip Mukherjee --- drivers/video/fbdev/smscufx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/video/fbdev/smscufx.c b/drivers/video/fbdev/smscufx.c index 9279e5f..ec2e7e3 100644 --- a/drivers/video/fbdev/smscufx.c +++ b/drivers/video/fbdev/smscufx.c @@ -1761,10 +1761,8 @@ error: static void ufx_usb_disconnect(struct usb_interface *interface) { struct ufx_data *dev; - struct fb_info *info; dev = usb_get_intfdata(interface); - info = dev->info; pr_debug("USB disconnect starting\n");