2
0
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:
Ilya Maximets
2017-07-14 11:11:38 +03:00
committed by Andy Zhou
parent 7b5bbe5d65
commit feb86b41fb

View File

@@ -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)
{