Bug 20782 - [PATCH] Remove hw/xfree86/os-support/misc/{Delay.c,BUSmemcpy.c}
Summary: [PATCH] Remove hw/xfree86/os-support/misc/{Delay.c,BUSmemcpy.c}
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: git
Hardware: All All
: medium minor
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL: http://lists.x.org/archives/xorg-deve...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-20 18:29 UTC by Matt Turner
Modified: 2009-08-31 13:32 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
0001-Remove-hw-xfree86-os-support-misc-Delay.c.patch (1.90 KB, patch)
2009-03-20 18:29 UTC, Matt Turner
no flags Details | Splinter Review
0002-Remove-hw-xfree86-os-support-misc-BUSmemcpy.patch (6.04 KB, patch)
2009-03-20 18:29 UTC, Matt Turner
no flags Details | Splinter Review

Description Matt Turner 2009-03-20 18:29:31 UTC
Created attachment 24104 [details] [review]
0001-Remove-hw-xfree86-os-support-misc-Delay.c.patch

Hi,

The attached patches kill off unused/unneeded code in hw/xfree86/os-support/misc/.

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.
Comment 1 Matt Turner 2009-03-20 18:29:58 UTC
Created attachment 24105 [details] [review]
0002-Remove-hw-xfree86-os-support-misc-BUSmemcpy.patch
Comment 2 Matt Turner 2009-08-31 13:32:42 UTC
Closing.

Code killed in
4fac13ff8848bc38654b5567170fbc0d7b2c96d6
9522ab9a98e98bc394703038e34b1c12aa39a179


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.