From: Brian Paul Date: Sun, 23 Jan 2011 18:47:03 +0000 (-0700) Subject: vega: remove redundant functions found elsewhere X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f3e6edc70b7a8e3a642c9d666863901653105893;p=mesa.git vega: remove redundant functions found elsewhere --- diff --git a/src/gallium/state_trackers/vega/vgu.c b/src/gallium/state_trackers/vega/vgu.c index a96f2e152ff..4206a91e006 100644 --- a/src/gallium/state_trackers/vega/vgu.c +++ b/src/gallium/state_trackers/vega/vgu.c @@ -37,16 +37,6 @@ #include #include -static VGboolean is_aligned_to(const void *ptr, VGbyte alignment) -{ - void *aligned = align_pointer(ptr, alignment); - return (ptr == aligned) ? VG_TRUE : VG_FALSE; -} - -static VGboolean is_aligned(const void *ptr) -{ - return is_aligned_to(ptr, 4); -} static void vgu_append_float_coords(VGPath path, const VGubyte *cmds,