From patchwork Sat Jul 5 16:23:16 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rickard Strandqvist X-Patchwork-Id: 4488581 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 05CB2BEEAA for ; Sat, 5 Jul 2014 16:22:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EAD0320295 for ; Sat, 5 Jul 2014 16:22:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 09B6520266 for ; Sat, 5 Jul 2014 16:22:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752193AbaGEQWD (ORCPT ); Sat, 5 Jul 2014 12:22:03 -0400 Received: from mail-we0-f177.google.com ([74.125.82.177]:43827 "EHLO mail-we0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751974AbaGEQWB (ORCPT ); Sat, 5 Jul 2014 12:22:01 -0400 Received: by mail-we0-f177.google.com with SMTP id u56so2692526wes.36 for ; Sat, 05 Jul 2014 09:22:00 -0700 (PDT) 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=3tg9ziiawHC0UA7rblFk2k4cr1BBexC0YGgFeMiF+AQ=; b=l0B7lN+uQ8X0dTWOrP6egyCmovqcvWCbpqzORynSEmAC/s+yuVsTrgh1DGx4KDF9Ze yzLrAyvE+anlRSTfqRRR5q/QOOppnIaPUHXeKBy91mCc7B/lpu5R8B7CjvC2wu+zrY7L RHKh8J6iS/cZgOUi4kgdVzhjCCdHh8oZBJwQp5nO6sehAtShwi0j7kp1dqAm61ZD1eZ3 ZN2ly/zK2E1CG0BuIzvmVrsVcpFSbv8DBPvre+Kc4iad9hyNVokFH7AesM7eo0SKxtyy d0E8JT2xqfsRJNjBdMI9GJShKuW/Q/651f7MgslQNyY+/mtQHRjl2kZ4vxQ00JjAU1hc +Zvg== X-Gm-Message-State: ALoCoQmpJ6T6XBYcd1j1sdixUFd3gAoKkgDoejKASTCqd3ZW4GU7mXK+GNPJkAbZuMIeTqC8MzWP X-Received: by 10.194.205.65 with SMTP id le1mr13620719wjc.67.1404577320004; Sat, 05 Jul 2014 09:22:00 -0700 (PDT) Received: from localhost.localdomain (h-245-62.a218.priv.bahnhof.se. [85.24.245.62]) by mx.google.com with ESMTPSA id lo18sm92662796wic.1.2014.07.05.09.21.58 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 05 Jul 2014 09:21:59 -0700 (PDT) From: Rickard Strandqvist To: Jean-Christophe Plagniol-Villard , Tomi Valkeinen Cc: Rickard Strandqvist , Rickard Strandqvist , Archit Taneja , Jingoo Han , Daniel Vetter , Laurent Pinchart , linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] video: fbdev: omap2: dss: sdi.c: Cleaning up removal variable thet is never used Date: Sat, 5 Jul 2014 18:23:16 +0200 Message-Id: <1404577396-25151-1-git-send-email-rickard_strandqvist@spectrumdigital.se> X-Mailer: git-send-email 1.7.10.4 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Rickard Strandqvist Removal of struct member variable thet is never used This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/video/fbdev/omap2/dss/sdi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/fbdev/omap2/dss/sdi.c b/drivers/video/fbdev/omap2/dss/sdi.c index 911dcc9..c6491ac 100644 --- a/drivers/video/fbdev/omap2/dss/sdi.c +++ b/drivers/video/fbdev/omap2/dss/sdi.c @@ -34,7 +34,6 @@ static struct { struct platform_device *pdev; - bool update_enabled; struct regulator *vdds_sdi_reg; struct dss_lcd_mgr_config mgr_config;