From patchwork Sun Jul 6 17:59:37 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rickard Strandqvist X-Patchwork-Id: 4490401 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id AB7579F36A for ; Sun, 6 Jul 2014 17:58:36 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F0B5A2020F for ; Sun, 6 Jul 2014 17:58:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 33575201EF for ; Sun, 6 Jul 2014 17:58:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752133AbaGFR6X (ORCPT ); Sun, 6 Jul 2014 13:58:23 -0400 Received: from mail-wg0-f43.google.com ([74.125.82.43]:53139 "EHLO mail-wg0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752131AbaGFR6W (ORCPT ); Sun, 6 Jul 2014 13:58:22 -0400 Received: by mail-wg0-f43.google.com with SMTP id b13so3367153wgh.26 for ; Sun, 06 Jul 2014 10:58:21 -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=IKx8m2iE9BEuS1K0CuAwjKy2zDgOKyBWff+OvS3Ewas=; b=c+vsYKCsVSFqBvn1v6EaKYx0eMZdhNqun+ghLcraGkgwWtdi1cRxD8NOs5ujOJUJzN hZ9kqxeyv1I0DTwrmB0dyrTL8jT7BUKbyMJUsB6KRV+AScbpMZo5cz8CdvScAFhfFPqf jwM18fdhpUTCt509Uk9lFP/lLKjxShTsgc9XgFTvYoPw8KcMeUla7kWo2N90dbqoK19V KBmS8AmCODKfcYmfy2ydXWZcoh0W4yD0X0IPvLqriRFa7A6zHvBwPbukhNoNGnoxNHE0 OZgHx7AOdObELt6iaFyZwxFpMkKzCD/09FYM+3MedwNFTI1qrJuIbcg1/squhDlDVOVH p5nw== X-Gm-Message-State: ALoCoQlmmHO680wotIhq5pHDeVhCKhnWTulITfH6BJiLjVYr/8OJ4yrY8rUkLr5Cq7Z5sFHN3TTX X-Received: by 10.194.82.106 with SMTP id h10mr848396wjy.115.1404669501134; Sun, 06 Jul 2014 10:58:21 -0700 (PDT) Received: from localhost.localdomain (h-245-62.a218.priv.bahnhof.se. [85.24.245.62]) by mx.google.com with ESMTPSA id ja9sm105425103wic.8.2014.07.06.10.58.19 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 06 Jul 2014 10:58:20 -0700 (PDT) From: Rickard Strandqvist To: Jean-Christophe Plagniol-Villard , Tomi Valkeinen Cc: Rickard Strandqvist , Archit Taneja , Jingoo Han , Daniel Vetter , 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: Sun, 6 Jul 2014 19:59:37 +0200 Message-Id: <1404669577-15942-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=-7.6 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 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;