mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
dp-packet: Remove misleading comment for refill init function.
Function 'dp_packet_batch_refill_init' doesn't return anything.
Looks like this comment came from one of the intermediate versions
of the API enhancement patch. Additionally comment style changed
to be consistent with other comments in the same file.
CC: Andy Zhou <azhou@ovn.org>
Fixes: 72c84bc2db
("dp-packet: Enhance packet batch APIs.")
Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
Signed-off-by: Andy Zhou <azhou@ovn.org>
This commit is contained in:
@@ -678,11 +678,8 @@ dp_packet_batch_size(const struct dp_packet_batch *batch)
|
||||
return batch->count;
|
||||
}
|
||||
|
||||
/*
|
||||
* Clear 'batch' for refill. Use dp_packet_batch_refill() to add
|
||||
* packets back into the 'batch'.
|
||||
*
|
||||
* Return the original size of the 'batch'. */
|
||||
/* Clear 'batch' for refill. Use dp_packet_batch_refill() to add
|
||||
* packets back into the 'batch'. */
|
||||
static inline void
|
||||
dp_packet_batch_refill_init(struct dp_packet_batch *batch)
|
||||
{
|
||||
|
Reference in New Issue
Block a user