From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54521) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Woq3L-0006jA-TL for qemu-devel@nongnu.org; Mon, 26 May 2014 04:14:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Woq3E-0006mv-8z for qemu-devel@nongnu.org; Mon, 26 May 2014 04:14:39 -0400 Received: from mx1.redhat.com ([209.132.183.28]:28316) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Woq3E-0006mZ-14 for qemu-devel@nongnu.org; Mon, 26 May 2014 04:14:32 -0400 From: Gerd Hoffmann Date: Mon, 26 May 2014 10:14:17 +0200 Message-Id: <1401092059-18503-23-git-send-email-kraxel@redhat.com> In-Reply-To: <1401092059-18503-1-git-send-email-kraxel@redhat.com> References: <1401092059-18503-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PULL 22/24] 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