From 1102893de4f14a2d184afc640c9a1edf778c6a93 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 4 May 2011 14:45:31 -0700 Subject: [PATCH] ofproto: Drop duplicate "const" in parameter declaration. Found by sparse. --- ofproto/ofproto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index 38b86f71..adbd681a 100644 --- a/ofproto/ofproto.c +++ b/ofproto/ofproto.c @@ -2533,7 +2533,7 @@ xlate_actions(struct action_xlate_ctx *ctx, * * The log message mentions 'msg_type'. */ static int -reject_slave_controller(struct ofconn *ofconn, const const char *msg_type) +reject_slave_controller(struct ofconn *ofconn, const char *msg_type) { if (ofconn_get_type(ofconn) == OFCONN_PRIMARY && ofconn_get_role(ofconn) == NX_ROLE_SLAVE) { -- 2.30.2