Simplify code in stream_recv().
authorBen Pfaff <blp@nicira.com>
Thu, 27 Nov 2008 00:18:16 +0000 (16:18 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 27 Nov 2008 06:25:39 +0000 (22:25 -0800)
commitca2e44b48d767d6c7c96df42b1a36d0dcf3309dc
tree95c9f55fc112acbe2ddf8a5abcafd2d6dd27f216
parent12333d665075b5a1042bac3916ed0df00e549266
Simplify code in stream_recv().

There is no need to test whether retval is nonzero at this point in the
code: we already know that it is negative from the two previous "if"
branches.
lib/vconn-stream.c