From patchwork Tue Mar 10 17:16:53 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudip Mukherjee X-Patchwork-Id: 5979571 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 116469F399 for ; Tue, 10 Mar 2015 17:18:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4F95C20220 for ; Tue, 10 Mar 2015 17:18:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 80D3720109 for ; Tue, 10 Mar 2015 17:18:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751496AbbCJRRW (ORCPT ); Tue, 10 Mar 2015 13:17:22 -0400 Received: from mail-pa0-f45.google.com ([209.85.220.45]:36294 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752777AbbCJRRQ (ORCPT ); Tue, 10 Mar 2015 13:17:16 -0400 Received: by padfa1 with SMTP id fa1so3874037pad.3; Tue, 10 Mar 2015 10:17:16 -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:in-reply-to:references; bh=uhCZo3Hv972jyArJ3lCjl7lh8c2h9MXf7uTr1n5pDuU=; b=0C/a5YWVmh0Q+f8TzLWwzQBLgR9KEyrhBfjGAWJLh5mhQ7PbfdPrN5uxLMrOjF/sSx Uc6/UVPvk3NP9c2LcN6al8/jvSvBJsfCIfaZ31INEG3Jz95OCg1CvPjQJT0COSPb0KjA r+GmwKoym1afOJPsR18UKFe4Jjd8cdrRQ5oaVJpQH3iyE92FzhRayFglCH57E+8lU4gN a2idC/3ObKJxQYXQQMffsAWC/VhKH70/lgTnUAC7EMyYeaSRbHO4RGZlEFyc4V55kWk5 Net3KeKmeC8bwkBst2EZc/w8AdvdQooGKB9CH/3LaWO4O8EpTKVy48+mGZGB5PJH6fzJ SY5Q== X-Received: by 10.70.123.131 with SMTP id ma3mr39418530pdb.16.1426007835924; Tue, 10 Mar 2015 10:17:15 -0700 (PDT) Received: from localhost.localdomain ([122.169.145.94]) by mx.google.com with ESMTPSA id kd9sm2087506pab.0.2015.03.10.10.17.13 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Mar 2015 10:17:15 -0700 (PDT) From: Sudip Mukherjee To: Greg Kroah-Hartman Cc: linux-fbdev@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Sudip Mukherjee Subject: [PATCH 2/6] staging: sm750fb: remove unused variables Date: Tue, 10 Mar 2015 22:46:53 +0530 Message-Id: <1426007817-1884-3-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1426007817-1884-1-git-send-email-sudipm.mukherjee@gmail.com> References: <1426007817-1884-1-git-send-email-sudipm.mukherjee@gmail.com> 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.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_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 removed some variables which were only declared but were never used. Signed-off-by: Sudip Mukherjee --- drivers/staging/sm750fb/sm750_cursor.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/sm750fb/sm750_cursor.c b/drivers/staging/sm750fb/sm750_cursor.c index 480615c..76b6029 100644 --- a/drivers/staging/sm750fb/sm750_cursor.c +++ b/drivers/staging/sm750fb/sm750_cursor.c @@ -99,7 +99,6 @@ void hw_cursor_setData(struct lynx_cursor * cursor, u8 color,mask,opr; u16 data; u16 * pbuffer,*pstart; - static ulong odd = 0; /* in byte*/ pitch = cursor->w >> 3; @@ -188,7 +187,7 @@ void hw_cursor_setData2(struct lynx_cursor * cursor, u16 rop,const u8* pcol,const u8* pmsk) { int i,j,count,pitch,offset; - u8 color,mask,opr; + u8 color, mask; u16 data; u16 * pbuffer,*pstart;