qcacmn: Remove qdf_delayed_work_t
qdf_delayed_work_t has been superseded by qdf_delayed_work (via I76bc59dcd4222643d70c6a763e5bc4ee9f0a487c). Remove the now obsolete qdf_delayed_work_t. Change-Id: I4e50521b469dcf9e1782e9412729f197552ee408 CRs-Fixed: 2420191
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2018 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2014-2019 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -42,7 +42,6 @@
|
||||
* Representation of a work queue.
|
||||
*/
|
||||
typedef __qdf_work_t qdf_work_t;
|
||||
typedef __qdf_delayed_work_t qdf_delayed_work_t;
|
||||
typedef __qdf_workqueue_t qdf_workqueue_t;
|
||||
|
||||
/*
|
||||
@@ -101,21 +100,6 @@ static inline QDF_STATUS qdf_create_work(qdf_handle_t hdl, qdf_work_t *work,
|
||||
return __qdf_init_work(work, func, arg);
|
||||
}
|
||||
|
||||
/**
|
||||
* qdf_create_delayed_work - create a delayed work/task, This runs in
|
||||
* non-interrupt context, so can be preempted by H/W & S/W intr
|
||||
* @work: pointer to work
|
||||
* @func: deferred function to run at bottom half non-interrupt context.
|
||||
* @arg: argument for the deferred function
|
||||
* Return: none
|
||||
*/
|
||||
static inline void qdf_create_delayed_work(qdf_delayed_work_t *work,
|
||||
qdf_defer_fn_t func,
|
||||
void *arg)
|
||||
{
|
||||
__qdf_init_delayed_work(work, func, arg);
|
||||
}
|
||||
|
||||
/**
|
||||
* qdf_create_workqueue - create a workqueue, This runs in non-interrupt
|
||||
* context, so can be preempted by H/W & S/W intr
|
||||
@@ -166,20 +150,6 @@ qdf_queue_work(qdf_handle_t hdl, qdf_workqueue_t *wqueue, qdf_work_t *work)
|
||||
return __qdf_queue_work(wqueue, work);
|
||||
}
|
||||
|
||||
/**
|
||||
* qdf_queue_delayed_work - Queue the delayed work/task
|
||||
* @wqueue: pointer to workqueue
|
||||
* @work: pointer to work
|
||||
* @delay: delay interval in milliseconds
|
||||
* Return: none
|
||||
*/
|
||||
static inline void qdf_queue_delayed_work(qdf_workqueue_t *wqueue,
|
||||
qdf_delayed_work_t *work,
|
||||
uint32_t delay)
|
||||
{
|
||||
return __qdf_queue_delayed_work(wqueue, work, delay);
|
||||
}
|
||||
|
||||
/**
|
||||
* qdf_flush_workqueue - flush the workqueue
|
||||
* @hdl: OS handle
|
||||
@@ -215,18 +185,6 @@ static inline void qdf_sched_work(qdf_handle_t hdl, qdf_work_t *work)
|
||||
__qdf_sched_work(work);
|
||||
}
|
||||
|
||||
/**
|
||||
* qdf_sched_delayed_work() - Schedule a delayed task
|
||||
* @work: pointer to delayed work
|
||||
* @delay: delay interval in milliseconds
|
||||
* Return: none
|
||||
*/
|
||||
static inline void
|
||||
qdf_sched_delayed_work(qdf_delayed_work_t *work, uint32_t delay)
|
||||
{
|
||||
__qdf_sched_delayed_work(work, delay);
|
||||
}
|
||||
|
||||
/**
|
||||
* qdf_cancel_work() - Cancel a work
|
||||
* @work: pointer to work
|
||||
@@ -246,19 +204,6 @@ static inline bool qdf_cancel_work(qdf_work_t *work)
|
||||
return __qdf_cancel_work(work);
|
||||
}
|
||||
|
||||
/**
|
||||
* qdf_cancel_delayed_work() - Cancel a delayed work
|
||||
* @work: pointer to delayed work
|
||||
*
|
||||
* This is qdf_cancel_work for delayed works.
|
||||
*
|
||||
* Return: true if work was pending, false otherwise
|
||||
*/
|
||||
static inline bool qdf_cancel_delayed_work(qdf_delayed_work_t *work)
|
||||
{
|
||||
return __qdf_cancel_delayed_work(work);
|
||||
}
|
||||
|
||||
/**
|
||||
* qdf_flush_work - Flush a deferred task on non-interrupt context
|
||||
* @work: pointer to work
|
||||
@@ -273,19 +218,6 @@ static inline void qdf_flush_work(qdf_work_t *work)
|
||||
__qdf_flush_work(work);
|
||||
}
|
||||
|
||||
/**
|
||||
* qdf_flush_delayed_work() - Flush a delayed work
|
||||
* @work: pointer to delayed work
|
||||
*
|
||||
* This is qdf_flush_work for delayed works.
|
||||
*
|
||||
* Return: none
|
||||
*/
|
||||
static inline void qdf_flush_delayed_work(qdf_delayed_work_t *work)
|
||||
{
|
||||
__qdf_flush_delayed_work(work);
|
||||
}
|
||||
|
||||
/**
|
||||
* qdf_disable_work - disable the deferred task (synchronous)
|
||||
* @work: pointer to work
|
||||
|
Reference in New Issue
Block a user