From: Ben Pfaff <blp@nicira.com>
Date: Wed, 4 May 2011 21:45:31 +0000 (-0700)
Subject: ofproto: Drop duplicate "const" in parameter declaration.
X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1102893de4f14a2d184afc640c9a1edf778c6a93;p=openvswitch

ofproto: Drop duplicate "const" in parameter declaration.

Found by sparse.
---

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