mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 19:19:32 +03:00
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:
parent
55c59e6153
commit
8e80a04c04
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user