svn commit: r247848 - head/sys/dev/drm2/ttm
Konstantin Belousov
kib at FreeBSD.org
Tue Mar 5 16:14:56 UTC 2013
Author: kib
Date: Tue Mar 5 16:14:55 2013
New Revision: 247848
URL: http://svnweb.freebsd.org/changeset/base/247848
Log:
Fix build with gcc, remove redundand declarations.
Reported and tested by: gjb
MFC after: 1 month
Modified:
head/sys/dev/drm2/ttm/ttm_lock.h
Modified: head/sys/dev/drm2/ttm/ttm_lock.h
==============================================================================
--- head/sys/dev/drm2/ttm/ttm_lock.h Tue Mar 5 16:04:15 2013 (r247847)
+++ head/sys/dev/drm2/ttm/ttm_lock.h Tue Mar 5 16:14:55 2013 (r247848)
@@ -125,27 +125,6 @@ extern int ttm_read_lock(struct ttm_lock
extern int ttm_read_trylock(struct ttm_lock *lock, bool interruptible);
/**
- * ttm_write_unlock
- *
- * @lock: Pointer to a struct ttm_lock
- *
- * Releases a write lock.
- */
-extern void ttm_write_unlock(struct ttm_lock *lock);
-
-/**
- * ttm_write_lock
- *
- * @lock: Pointer to a struct ttm_lock
- * @interruptible: Interruptible sleeping while waiting for a lock.
- *
- * Takes the lock in write mode.
- * Returns:
- * -ERESTARTSYS If interrupted by a signal and interruptible is true.
- */
-extern int ttm_write_lock(struct ttm_lock *lock, bool interruptible);
-
-/**
* ttm_lock_downgrade
*
* @lock: Pointer to a struct ttm_lock
More information about the svn-src-all
mailing list