diff options
| author | Ben Pfaff <blp@nicira.com> | 2011-09-08 11:21:45 -0700 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2011-09-15 11:10:36 -0700 |
| commit | 109b8459218973f7fba72fc606bcdbbb306592de (patch) | |
| tree | a92f8f31616e30cefa65a286279bedffb2e69a7a /ofproto/ofproto.c | |
| parent | eb6e978cc1119c651efe48aeffc22e1827e4458a (diff) | |
| download | openvswitch-109b8459218973f7fba72fc606bcdbbb306592de.tar.gz | |
ofproto: Remove dummy 'in_port' variable.
Seems like a very small cleanup.
Diffstat (limited to 'ofproto/ofproto.c')
| -rw-r--r-- | ofproto/ofproto.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index 979335543..7748ef1b8 100644 --- a/ofproto/ofproto.c +++ b/ofproto/ofproto.c @@ -1590,7 +1590,6 @@ handle_packet_out(struct ofconn *ofconn, const struct ofp_header *oh) struct ofpbuf request; struct flow flow; size_t n_ofp_actions; - uint16_t in_port; int error; COVERAGE_INC(ofproto_packet_out); @@ -1614,7 +1613,7 @@ handle_packet_out(struct ofconn *ofconn, const struct ofp_header *oh) /* Get payload. */ if (opo->buffer_id != htonl(UINT32_MAX)) { error = ofconn_pktbuf_retrieve(ofconn, ntohl(opo->buffer_id), - &buffer, &in_port); + &buffer, NULL); if (error || !buffer) { return error; } |
