From patchwork Thu Mar 24 20:50:52 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Senozhatsky X-Patchwork-Id: 660471 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p2OKkq1J018353 for ; Thu, 24 Mar 2011 20:46:53 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934230Ab1CXUqw (ORCPT ); Thu, 24 Mar 2011 16:46:52 -0400 Received: from mail-bw0-f46.google.com ([209.85.214.46]:59415 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934196Ab1CXUqv (ORCPT ); Thu, 24 Mar 2011 16:46:51 -0400 Received: by bwz15 with SMTP id 15so421456bwz.19 for ; Thu, 24 Mar 2011 13:46:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:date:from:to:cc:subject:message-id:mime-version :content-type:content-disposition:user-agent; bh=Ex9ZldMgRmwDY+CR9wh9N5+hyqvBPSbbE3bZSdyGMSY=; b=b3ZaCr0HftTWNgh7VP8tfuU3gNzIcbt32gM9GCy1DCGdRdlMg4UKiilmY7vyJ3oBVW l1rxjlN2e9uRdUwsS8x+F+T7Pl9j8GRKT/pw4O/poFcrbBJryt40sjRm+5gB8oNDYyEd HcS6GtQymhkO0ehQ3Kk3bjhk3g3oJG4ZaCXN8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=CpaIncCUqawkpfUMdAi8d5wWZ2pynZqBZDVOqrm3Y1c6ykxkgclm8a+49q3rb/o66U uK3fjT+Gn6CVIQd62054pFw0oxMoGWrrxxc+hcLy80Ea47STxqYBUZ1He2yj2IBfxHyV OxeW2hdLgko/bnmYuYO2eO35go0LKmnP1j7lk= Received: by 10.204.136.1 with SMTP id p1mr2798704bkt.105.1300999609696; Thu, 24 Mar 2011 13:46:49 -0700 (PDT) Received: from localhost ([80.249.91.121]) by mx.google.com with ESMTPS id rb14sm235451bkb.9.2011.03.24.13.46.46 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 24 Mar 2011 13:46:48 -0700 (PDT) Date: Thu, 24 Mar 2011 22:50:52 +0200 From: Sergey Senozhatsky To: Paul Mundt Cc: Andrew Morton , Dave Airlie , Jesse Barnes , linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] fbcon: Remove unused 'display *p' variable from fb_flashcursor() Message-ID: <20110324205052.GA4238@swordfish> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Thu, 24 Mar 2011 20:46:53 +0000 (UTC) diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c index c583934..8745637 100644 --- a/drivers/video/console/fbcon.c +++ b/drivers/video/console/fbcon.c @@ -370,7 +370,6 @@ static void fb_flashcursor(struct work_struct *work) { struct fb_info *info = container_of(work, struct fb_info, queue); struct fbcon_ops *ops = info->fbcon_par; - struct display *p; struct vc_data *vc = NULL; int c; int mode; @@ -386,7 +385,6 @@ static void fb_flashcursor(struct work_struct *work) return; } - p = &fb_display[vc->vc_num]; c = scr_readw((u16 *) vc->vc_pos); mode = (!ops->cursor_flash || ops->cursor_state.enable) ? CM_ERASE : CM_DRAW;