diff --git a/src/conio/bitmap_con.c b/src/conio/bitmap_con.c
index 55ccb8470363ac431f9650d4b8e04f5af475d056..04cfc13cfb874d7124aae6117e26f0f167fbebef 100644
--- a/src/conio/bitmap_con.c
+++ b/src/conio/bitmap_con.c
@@ -614,8 +614,6 @@ static void bitmap_draw_cursor()
 /* Called from main thread only */
 void bitmap_gotoxy(int x, int y)
 {
-	static int lx=-1,ly=-1;
-
 	if(!bitmap_initialized)
 		return;
 	/* Move cursor location */
@@ -627,8 +625,6 @@ void bitmap_gotoxy(int x, int y)
 		vstat.curs_col=x+cio_textinfo.winleft-1;
 		vstat.curs_row=y+cio_textinfo.wintop-1;
 		pthread_mutex_unlock(&vstatlock);
-		lx=vstat.curs_col;
-		ly=vstat.curs_row;
 	}
 }