[RESEND] Remove unused hw/xfree86/os-support/misc/{Delay.c, BUSmemcpy.c}

Matt Turner mattst88 at gmail.com
Sun Aug 2 13:35:23 PDT 2009


Hi,

The attached patches kill off unused code in
hw/xfree86/os-support/misc/. A little more than 200 lines.

The first patch removes Delay.c. Delay.c provides a single function,
xf86UDelay. It is unused inside the xserver, and I cannot find any
modules on my system that use it. Plus, does the xserver /really/ need
to provide a wrapper for usleep for you?

The second patch removes BUSmemcpy.c. BUSmemcpy.c provides
xf86BusToMem and xf86MemToBus, which are are memcpy wrappers written
to avoid glibc's memcpy on Alpha. glibc'c memcpy on Alpha has improved
much since this was written, so it's no longer needed. Neither
function is used inside the xserver, and no module on my machine uses
either as well.

I do not have commit access, so someone with it, please review and commit.

Signed-off-by: Matt Turner <mattst88 at gmail.com>

Matt Turner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Remove-hw-xfree86-os-support-misc-Delay.c.patch
Type: application/octet-stream
Size: 1943 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-devel/attachments/20090802/83d765c1/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Remove-hw-xfree86-os-support-misc-BUSmemcpy.patch
Type: application/octet-stream
Size: 6180 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-devel/attachments/20090802/83d765c1/attachment-0001.obj 


More information about the xorg-devel mailing list