From: Ben Pfaff Date: Mon, 21 Jan 2013 15:37:21 +0000 (-0800) Subject: ofproto: Remove redundant call to ofconn_get_ofproto X-Git-Tag: sliver-openvswitch-1.9.90-3~8^2~12 X-Git-Url: http://git.onelab.eu/?p=sliver-openvswitch.git;a=commitdiff_plain;h=f182253209f6972c8246335b09f5f83eba97c0c5 ofproto: Remove redundant call to ofconn_get_ofproto This is a cosmetic change. Remove the redundant call to ofconn_get_ofproto in handle_flow_mod. Signed-off-by: Paraneetharan Chandrasekaran Signed-off-by: Ben Pfaff --- diff --git a/AUTHORS b/AUTHORS index c0cc9107f..28825d7ac 100644 --- a/AUTHORS +++ b/AUTHORS @@ -53,6 +53,7 @@ Martin Casado casado@nicira.com Mehak Mahajan mmahajan@nicira.com Natasha Gude natasha@nicira.com Neil McKee neil.mckee@inmon.com +Paraneetharan Chandrasekaran paraneetharanc@gmail.com Paul Fazzone pfazzone@nicira.com Pavithra Ramesh paramesh@vmware.com Philippe Jung phil.jung@free.fr diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index 918b9b466..9bae97192 100644 --- a/ofproto/ofproto.c +++ b/ofproto/ofproto.c @@ -3499,7 +3499,7 @@ handle_flow_mod(struct ofconn *ofconn, const struct ofp_header *oh) &fm.match.flow, ofproto->max_ports); } if (!error) { - error = handle_flow_mod__(ofconn_get_ofproto(ofconn), ofconn, &fm, oh); + error = handle_flow_mod__(ofproto, ofconn, &fm, oh); } if (error) { goto exit_free_ofpacts;