pinsched: Remove obsolete ofpbuf_trim().
authorBen Pfaff <blp@ovn.org>
Tue, 5 Jan 2016 19:42:51 +0000 (11:42 -0800)
committerBen Pfaff <blp@ovn.org>
Wed, 20 Jan 2016 06:50:46 +0000 (22:50 -0800)
commit64e3c4e551a8b10384cfa3fe927133a1d88d790b
treef0736a575dd21a8c5096aaa0cbbc7cd86e70c36d
parent85586ad3a411044bf6aa882e5b6e8afd222a976e
pinsched: Remove obsolete ofpbuf_trim().

This call to ofpbuf_trim() comes from a time when the packets passed to
pinsched came directly from a dpif.  For some time now that's no longer
true--now they are messages generated by ofputil_encode_packet_in(), which
generally are well sized and do not benefit from trimming.

This is not a bug fix--the code is equally correct either way, it's only
the rationale for trimming that's obsolete.

Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Jarno Rajahalme <jarno@ovn.org>
ofproto/pinsched.c