mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-30 06:10:56 +00:00
staging: unisys: visorbus: Move kernel-doc comment to proper location
Moves kernel-doc comment in front of the function it describes. Signed-off-by: David Binder <david.binder@unisys.com> Signed-off-by: David Kershner <david.kershner@unisys.com> Reviewed-by: Tim Sell <timothy.sell@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c1ae3cfa0e
commit
7ec83df07f
1 changed files with 9 additions and 10 deletions
|
@ -286,16 +286,6 @@ visorchannel_signalremove(struct visorchannel *channel, u32 queue, void *msg)
|
|||
}
|
||||
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
|
||||
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);
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
visorchannel_signalempty(struct visorchannel *channel, u32 queue)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue