Remove unreferenced code in linedraw.c