mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-22 17:01:14 +00:00
staging: vc04_services: Remove function vchiu_queue_is_full()
Remove unused function vchiu_queue_is_full. Issue found with Coccinelle. Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
8e590ef5b2
commit
74a2f3cb32
2 changed files with 0 additions and 6 deletions
|
@ -39,11 +39,6 @@ int vchiu_queue_is_empty(struct vchiu_queue *queue)
|
|||
return queue->read == queue->write;
|
||||
}
|
||||
|
||||
int vchiu_queue_is_full(struct vchiu_queue *queue)
|
||||
{
|
||||
return queue->write == queue->read + queue->size;
|
||||
}
|
||||
|
||||
void vchiu_queue_push(struct vchiu_queue *queue, struct vchiq_header *header)
|
||||
{
|
||||
if (!queue->initialized)
|
||||
|
|
|
@ -40,7 +40,6 @@ extern int vchiu_queue_init(struct vchiu_queue *queue, int size);
|
|||
extern void vchiu_queue_delete(struct vchiu_queue *queue);
|
||||
|
||||
extern int vchiu_queue_is_empty(struct vchiu_queue *queue);
|
||||
extern int vchiu_queue_is_full(struct vchiu_queue *queue);
|
||||
|
||||
extern void vchiu_queue_push(struct vchiu_queue *queue,
|
||||
struct vchiq_header *header);
|
||||
|
|
Loading…
Reference in a new issue