drm: misc cleanup
This patch contains the following cleanups: - make needlessly global functions static - remove the following unused global functions: - drm_fops.c: drm_read - i915_dma.c: i915_do_cleanup_pageflip Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Dave Airlie <airlied@linux.ie>
This commit is contained in:
@@ -84,7 +84,7 @@ failed:
|
||||
* drm_device::context_sareas to accommodate the new entry while holding the
|
||||
* drm_device::struct_sem lock.
|
||||
*/
|
||||
int drm_ctxbitmap_next( drm_device_t *dev )
|
||||
static int drm_ctxbitmap_next( drm_device_t *dev )
|
||||
{
|
||||
int bit;
|
||||
|
||||
@@ -326,7 +326,7 @@ int drm_context_switch( drm_device_t *dev, int old, int new )
|
||||
* hardware lock is held, clears the drm_device::context_flag and wakes up
|
||||
* drm_device::context_wait.
|
||||
*/
|
||||
int drm_context_switch_complete( drm_device_t *dev, int new )
|
||||
static int drm_context_switch_complete( drm_device_t *dev, int new )
|
||||
{
|
||||
dev->last_context = new; /* PRE/POST: This is the _only_ writer. */
|
||||
dev->last_switch = jiffies;
|
||||
|
Reference in New Issue
Block a user