From patchwork Sat Jul 5 16:24:20 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rickard Strandqvist X-Patchwork-Id: 4488601 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 1EF209F358 for ; Sat, 5 Jul 2014 16:23:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 05D2F2026C for ; Sat, 5 Jul 2014 16:23:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D5FA620266 for ; Sat, 5 Jul 2014 16:23:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754049AbaGEQXG (ORCPT ); Sat, 5 Jul 2014 12:23:06 -0400 Received: from mail-wi0-f174.google.com ([209.85.212.174]:46404 "EHLO mail-wi0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753987AbaGEQXF (ORCPT ); Sat, 5 Jul 2014 12:23:05 -0400 Received: by mail-wi0-f174.google.com with SMTP id bs8so14147028wib.13 for ; Sat, 05 Jul 2014 09:23:03 -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=Twn+3BS4V1mXx6RZ2clF9MLqg+j+mKsOVU83wlH9omM=; b=m30C76pEQUlDrXfh0Nc1gF43EDmKodhmRqKsPLCi4aguqJhxzVzneoCyLuzohsNJNT 5MFuaDVjOTX6tzGJPw4rSIzcAmsIkCc0ICxn5zaua6LuBQ4ExfCCI14t5GrDh8/SU5G5 ZMtTQS3buDZq7ekRmbnvoipqoiQI859RtZ59eTCump0stOQQhlMTtcjTZUxpi5JhiiDh RRlNP5xuSUf51K3Zt3dk1RSZGbVf9zuifQV+JMTtH3I70Y82efYZQtJtxsgNdYvPdErU 4efLUs4rSLtiOiOx57tPpFfcQkbd+S4wtRZAywG354KOilKA6TlGAwnxkwMFYby3oVpm juMg== X-Gm-Message-State: ALoCoQnT1hENLwpw42lZybT5vQnrIWbRm8PleolxfHIbBnYp3QF1vhO2jxhHY2Zk7G3kBKdEewai X-Received: by 10.194.77.177 with SMTP id t17mr19247741wjw.55.1404577383323; Sat, 05 Jul 2014 09:23:03 -0700 (PDT) Received: from localhost.localdomain (h-245-62.a218.priv.bahnhof.se. [85.24.245.62]) by mx.google.com with ESMTPSA id n2sm74288293wjf.40.2014.07.05.09.23.01 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 05 Jul 2014 09:23:02 -0700 (PDT) From: Rickard Strandqvist To: Jean-Christophe Plagniol-Villard , Tomi Valkeinen Cc: Rickard Strandqvist , Rickard Strandqvist , Jingoo Han , Daniel Vetter , Laurent Pinchart , Rob Clark , 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: Sat, 5 Jul 2014 18:24:20 +0200 Message-Id: <1404577460-25251-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 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;