From patchwork Sun Jul 6 17:57:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rickard Strandqvist X-Patchwork-Id: 4490361 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 597EE9F36A for ; Sun, 6 Jul 2014 17:56:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9192E201B9 for ; Sun, 6 Jul 2014 17:56:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 354922015E for ; Sun, 6 Jul 2014 17:56:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751808AbaGFR4n (ORCPT ); Sun, 6 Jul 2014 13:56:43 -0400 Received: from mail-wg0-f45.google.com ([74.125.82.45]:55183 "EHLO mail-wg0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751749AbaGFR4n (ORCPT ); Sun, 6 Jul 2014 13:56:43 -0400 Received: by mail-wg0-f45.google.com with SMTP id z12so1633206wgg.16 for ; Sun, 06 Jul 2014 10:56:41 -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=5K0ogIWnilh01Ui1tiNYl5PKfbjDIlnFOGbtzvQoLKE=; b=OTJMcB3n0ybGMgmp9LhS+rg3hM4VllvuQqZbFrBbNKvFhPF8JEmMVGv/Y5sRmA9fis WcUOETF9Gr0EL86ChBbBUXw6eLUKRqO3nO6MnSbOkkKaFJtam3S6foO4WkfQa0iaGGWf XH3l5quxKYz6Tm/K64/POyaemLr2MC/bAtWULHB05Y+wIFrZdm+l9HCK+5uj/w5gKVUG H//Re4yRkrcCb+lHbp60Hq/k+lzTzOktQ1KULDt05NrygFR5XK7wvoEkheHueJJU8DYX Op734nlUwSIFTn5u+2xqc6+a4TclOGizXvZWg9BXIM3bmVFPRr0UFqKXqXVFRW0Ri8GI CPlw== X-Gm-Message-State: ALoCoQnTTsKMHKLY24T8tXt84xrskVzRJhxthYClW6f0CfkIwFFO3X75FR0L2MqAC7HPfLi828SV X-Received: by 10.194.62.140 with SMTP id y12mr27031217wjr.27.1404669401212; Sun, 06 Jul 2014 10:56:41 -0700 (PDT) Received: from localhost.localdomain (h-245-62.a218.priv.bahnhof.se. [85.24.245.62]) by mx.google.com with ESMTPSA id fn1sm105403034wib.18.2014.07.06.10.56.39 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 06 Jul 2014 10:56:40 -0700 (PDT) From: Rickard Strandqvist To: Jean-Christophe Plagniol-Villard , Tomi Valkeinen Cc: Rickard Strandqvist , Jingoo Han , Daniel Vetter , Laurent Pinchart , Arnd Bergmann , linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] video: fbdev: omap: omapfb_main.c: Cleaning up removal variable thet is never used Date: Sun, 6 Jul 2014 19:57:57 +0200 Message-Id: <1404669477-15842-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 union 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/omap/omapfb_main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/fbdev/omap/omapfb_main.c b/drivers/video/fbdev/omap/omapfb_main.c index d8d028d..557aaa3 100644 --- a/drivers/video/fbdev/omap/omapfb_main.c +++ b/drivers/video/fbdev/omap/omapfb_main.c @@ -1096,7 +1096,6 @@ static int omapfb_ioctl(struct fb_info *fbi, unsigned int cmd, enum omapfb_update_mode update_mode; struct omapfb_caps caps; unsigned int mirror; - int plane_out; int enable_plane; } p; int r = 0;