From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51713) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Whe8Z-00061M-Sq for qemu-devel@nongnu.org; Tue, 06 May 2014 08:06:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Whe8R-0001a6-9g for qemu-devel@nongnu.org; Tue, 06 May 2014 08:06:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]:31645) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Whe8R-0001ZF-35 for qemu-devel@nongnu.org; Tue, 06 May 2014 08:06:11 -0400 From: Gerd Hoffmann Date: Tue, 6 May 2014 14:05:58 +0200 Message-Id: <1399377958-20076-23-git-send-email-kraxel@redhat.com> In-Reply-To: <1399377958-20076-1-git-send-email-kraxel@redhat.com> References: <1399377958-20076-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 22/22] gtk: zap unused global_state List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann , Anthony Liguori Signed-off-by: Gerd Hoffmann --- ui/gtk.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ui/gtk.c b/ui/gtk.c index a9136ed..3355cb4 100644 --- a/ui/gtk.c +++ b/ui/gtk.c @@ -204,8 +204,6 @@ struct GtkDisplayState { bool has_evdev; }; -static GtkDisplayState *global_state; - static void gd_grab_pointer(VirtualConsole *vc); static void gd_ungrab_pointer(GtkDisplayState *s); @@ -1815,8 +1813,6 @@ void gtk_display_init(DisplayState *ds, bool full_screen, bool grab_on_hover) } gd_set_keycode_type(s); - - global_state = s; } void early_gtk_display_init(void) -- 1.8.3.1