git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3d8f1f
)
ofproto: Drop duplicate "const" in parameter declaration.
author
Ben Pfaff
<blp@nicira.com>
Wed, 4 May 2011 21:45:31 +0000
(14:45 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Mon, 16 May 2011 20:40:47 +0000
(13:40 -0700)
Found by sparse.
ofproto/ofproto.c
patch
|
blob
|
history
diff --git
a/ofproto/ofproto.c
b/ofproto/ofproto.c
index
38b86f7
..
adbd681
100644
(file)
--- 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 c
onst c
har *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) {