diff options
author | kib <kib@FreeBSD.org> | 2013-03-05 16:14:55 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2013-03-05 16:14:55 +0000 |
commit | 1a0feca1fa0b920ed9458e818fd0e5e02278c4ff (patch) | |
tree | deff7a37e2287e93ebf4250c1b6828738374a164 /sys/dev/drm2 | |
parent | c7071f4d0afc4f39a27dc56a3f26f41bf11d9144 (diff) | |
download | FreeBSD-src-1a0feca1fa0b920ed9458e818fd0e5e02278c4ff.zip FreeBSD-src-1a0feca1fa0b920ed9458e818fd0e5e02278c4ff.tar.gz |
Fix build with gcc, remove redundand declarations.
Reported and tested by: gjb
MFC after: 1 month
Diffstat (limited to 'sys/dev/drm2')
-rw-r--r-- | sys/dev/drm2/ttm/ttm_lock.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/sys/dev/drm2/ttm/ttm_lock.h b/sys/dev/drm2/ttm/ttm_lock.h index ac8159e..6d45457 100644 --- a/sys/dev/drm2/ttm/ttm_lock.h +++ b/sys/dev/drm2/ttm/ttm_lock.h @@ -125,27 +125,6 @@ extern int ttm_read_lock(struct ttm_lock *lock, bool interruptible); 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 |