ofp-print: Fix redundant expression.
authorJoe Stringer <joestringer@nicira.com>
Wed, 5 Aug 2015 20:31:25 +0000 (13:31 -0700)
committerJoe Stringer <joestringer@nicira.com>
Tue, 25 Aug 2015 00:34:28 +0000 (17:34 -0700)
commit6c52e6d8c0e54f1876502bda9aeffd20b85f5cde
treeb64777df5d4192b4ef0f91c70974d028d6d8efb4
parent2fac5fedc7e871e8c7abb36f514bbd11de48b3ed
ofp-print: Fix redundant expression.

'features' is always a valid pointer to something on the stack, so
checking (!features || ...) is the same as checking (false || ...).
Simplify the expression.

Found by MIT STACK undefined behaviour checker.

Signed-off-by: Joe Stringer <joestringer@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
lib/ofp-print.c