2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 14:25:26 +00:00

ofp-util: constify buckets parameter of ofputil_append*_group_desc_reply()

This parameter is not modified so it may be marked as const.

Signed-off-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: Thomas Graf <tgraf@noironetworks.com>
This commit is contained in:
Simon Horman
2015-01-27 17:12:34 +09:00
committed by Thomas Graf
parent a52b0492a4
commit 1667bb3498
2 changed files with 4 additions and 4 deletions

View File

@@ -7408,7 +7408,7 @@ ofputil_put_ofp15_bucket(const struct ofputil_bucket *bucket,
static void
ofputil_append_ofp11_group_desc_reply(const struct ofputil_group_desc *gds,
struct ovs_list *buckets,
const struct ovs_list *buckets,
struct ovs_list *replies,
enum ofp_version version)
{
@@ -7432,7 +7432,7 @@ ofputil_append_ofp11_group_desc_reply(const struct ofputil_group_desc *gds,
static void
ofputil_append_ofp15_group_desc_reply(const struct ofputil_group_desc *gds,
struct ovs_list *buckets,
const struct ovs_list *buckets,
struct ovs_list *replies,
enum ofp_version version)
{
@@ -7462,7 +7462,7 @@ ofputil_append_ofp15_group_desc_reply(const struct ofputil_group_desc *gds,
* initialized with ofpmp_init(). */
void
ofputil_append_group_desc_reply(const struct ofputil_group_desc *gds,
struct ovs_list *buckets,
const struct ovs_list *buckets,
struct ovs_list *replies)
{
enum ofp_version version = ofpmp_version(replies);