dde_linux lx_emul wait: get rid of unused args

This commit is contained in:
Martin Stein 2018-08-21 15:48:47 +02:00 committed by Christian Helmuth
parent cc4a72243d
commit 770fc77584
1 changed files with 4 additions and 4 deletions

View File

@ -15,7 +15,7 @@
#include <lx_kit/scheduler.h>
void prepare_to_wait(wait_queue_head_t *q, wait_queue_entry_t *w, int state)
void prepare_to_wait(wait_queue_head_t *q, wait_queue_entry_t *, int)
{
if (!q) { return; }
@ -26,13 +26,13 @@ void prepare_to_wait(wait_queue_head_t *q, wait_queue_entry_t *w, int state)
}
void prepare_to_wait_exclusive(wait_queue_head_t *q, wait_queue_entry_t *w, int state)
void prepare_to_wait_exclusive(wait_queue_head_t *q, wait_queue_entry_t *, int)
{
prepare_to_wait(q, w, state);
prepare_to_wait(q, 0, 0);
}
void finish_wait(wait_queue_head_t *q, wait_queue_entry_t *w)
void finish_wait(wait_queue_head_t *q, wait_queue_entry_t *)
{
if (!q) { return; }