Simple ignore the return type which was never used here and cast it to void.

git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@169 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c
This commit is contained in:
behlendo 2008-11-04 22:42:58 +00:00
parent 55c59e6153
commit 8e80a04c04

View File

@ -65,7 +65,7 @@ static void
__up_read_locked(struct rw_semaphore *sem) __up_read_locked(struct rw_semaphore *sem)
{ {
if (--sem->activity == 0 && !list_empty(&sem->wait_list)) if (--sem->activity == 0 && !list_empty(&sem->wait_list))
sem = __rwsem_wake_one_writer_locked(sem); (void)__rwsem_wake_one_writer_locked(sem);
} }
/* trylock for writing -- returns 1 if successful, 0 if contention */ /* trylock for writing -- returns 1 if successful, 0 if contention */