ofproto: Drop duplicate "const" in parameter declaration.
authorBen Pfaff <blp@nicira.com>
Wed, 4 May 2011 21:45:31 +0000 (14:45 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 16 May 2011 20:40:47 +0000 (13:40 -0700)
Found by sparse.

ofproto/ofproto.c

index 38b86f710b3caada100b17a6fbdeb12901c1d2f9..adbd681aa2976c410870bf664f0cc3dcf5418aa7 100644 (file)
@@ -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) {