From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46192) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wn28L-0001Ex-Kp for qemu-devel@nongnu.org; Wed, 21 May 2014 04:44:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wn28B-0007GG-Te for qemu-devel@nongnu.org; Wed, 21 May 2014 04:44:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:27286) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wn28B-0007Fc-EE for qemu-devel@nongnu.org; Wed, 21 May 2014 04:44:11 -0400 From: Gerd Hoffmann Date: Wed, 21 May 2014 10:43:58 +0200 Message-Id: <1400661841-16031-23-git-send-email-kraxel@redhat.com> In-Reply-To: <1400661841-16031-1-git-send-email-kraxel@redhat.com> References: <1400661841-16031-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 22/25] 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 a55ceb4..0d86025 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