Commit 4f05f8ae authored by Shraddha Barke's avatar Shraddha Barke Committed by Greg Kroah-Hartman

Staging: lustre: lnet: Remove functions LNetEQWait and LNetEQGet

Functions LNetEQWait and LNetEQGet are defined but not used. Thus
remove it. Also remove corresponding declarations from header file.
Signed-off-by: default avatarShraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4e8d4e1b
...@@ -161,12 +161,6 @@ int LNetEQAlloc(unsigned int count_in, ...@@ -161,12 +161,6 @@ int LNetEQAlloc(unsigned int count_in,
int LNetEQFree(lnet_handle_eq_t eventq_in); int LNetEQFree(lnet_handle_eq_t eventq_in);
int LNetEQGet(lnet_handle_eq_t eventq_in,
lnet_event_t *event_out);
int LNetEQWait(lnet_handle_eq_t eventq_in,
lnet_event_t *event_out);
int LNetEQPoll(lnet_handle_eq_t *eventqs_in, int LNetEQPoll(lnet_handle_eq_t *eventqs_in,
int neq_in, int neq_in,
int timeout_ms, int timeout_ms,
......
...@@ -282,15 +282,6 @@ lnet_eq_dequeue_event(lnet_eq_t *eq, lnet_event_t *ev) ...@@ -282,15 +282,6 @@ lnet_eq_dequeue_event(lnet_eq_t *eq, lnet_event_t *ev)
* at least one event between this event and the last event obtained from the * at least one event between this event and the last event obtained from the
* EQ has been dropped due to limited space in the EQ. * EQ has been dropped due to limited space in the EQ.
*/ */
int
LNetEQGet(lnet_handle_eq_t eventq, lnet_event_t *event)
{
int which;
return LNetEQPoll(&eventq, 1, 0,
event, &which);
}
EXPORT_SYMBOL(LNetEQGet);
/** /**
* Block the calling process until there is an event in the EQ. * Block the calling process until there is an event in the EQ.
...@@ -308,15 +299,6 @@ EXPORT_SYMBOL(LNetEQGet); ...@@ -308,15 +299,6 @@ EXPORT_SYMBOL(LNetEQGet);
* at least one event between this event and the last event obtained from the * at least one event between this event and the last event obtained from the
* EQ has been dropped due to limited space in the EQ. * EQ has been dropped due to limited space in the EQ.
*/ */
int
LNetEQWait(lnet_handle_eq_t eventq, lnet_event_t *event)
{
int which;
return LNetEQPoll(&eventq, 1, LNET_TIME_FOREVER,
event, &which);
}
EXPORT_SYMBOL(LNetEQWait);
static int static int
lnet_eq_wait_locked(int *timeout_ms) lnet_eq_wait_locked(int *timeout_ms)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment