From: Ben Pfaff Date: Wed, 4 May 2011 21:45:31 +0000 (-0700) Subject: ofproto: Drop duplicate "const" in parameter declaration. X-Git-Tag: v1.2.0~349 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=1102893de4f14a2d184afc640c9a1edf778c6a93;p=sliver-openvswitch.git ofproto: Drop duplicate "const" in parameter declaration. Found by sparse. --- diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index 38b86f710..adbd681aa 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) {