Commit 7ec83df0 authored by David Binder's avatar David Binder Committed by Greg Kroah-Hartman

staging: unisys: visorbus: Move kernel-doc comment to proper location

Moves kernel-doc comment in front of the function it describes.
Signed-off-by: default avatarDavid Binder <david.binder@unisys.com>
Signed-off-by: default avatarDavid Kershner <david.kershner@unisys.com>
Reviewed-by: default avatarTim Sell <timothy.sell@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c1ae3cfa
...@@ -286,16 +286,6 @@ visorchannel_signalremove(struct visorchannel *channel, u32 queue, void *msg) ...@@ -286,16 +286,6 @@ visorchannel_signalremove(struct visorchannel *channel, u32 queue, void *msg)
} }
EXPORT_SYMBOL_GPL(visorchannel_signalremove); EXPORT_SYMBOL_GPL(visorchannel_signalremove);
/**
* visorchannel_signalempty() - checks if the designated channel/queue
* contains any messages
* @channel: the channel to query
* @queue: the queue in the channel to query
*
* Return: boolean indicating whether any messages in the designated
* channel/queue are present
*/
static bool static bool
queue_empty(struct visorchannel *channel, u32 queue) queue_empty(struct visorchannel *channel, u32 queue)
{ {
...@@ -307,6 +297,15 @@ queue_empty(struct visorchannel *channel, u32 queue) ...@@ -307,6 +297,15 @@ queue_empty(struct visorchannel *channel, u32 queue)
return (sig_hdr.head == sig_hdr.tail); return (sig_hdr.head == sig_hdr.tail);
} }
/**
* visorchannel_signalempty() - checks if the designated channel/queue
* contains any messages
* @channel: the channel to query
* @queue: the queue in the channel to query
*
* Return: boolean indicating whether any messages in the designated
* channel/queue are present
*/
bool bool
visorchannel_signalempty(struct visorchannel *channel, u32 queue) visorchannel_signalempty(struct visorchannel *channel, u32 queue)
{ {
......
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