tools/xenalyze: Avoid redundant check
authorGeorge Dunlap <george.dunlap@eu.citrix.com>
Thu, 25 Feb 2016 14:48:57 +0000 (14:48 +0000)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 29 Feb 2016 16:12:42 +0000 (11:12 -0500)
commit794beca91840fb8519113d40887459d20ec63f68
tree6f75557342ecae497ea9d0a895763a64dd718683
parentfb579942018fafcf8c6cec04d116b9a4c5e990cd
tools/xenalyze: Avoid redundant check

Coverity notices that if !head is true, that !N can never be true.

Don't bother checking N, since we know it has to be at least one.

CID 1354243

Signed-off-by: George Dunlap <george.dunlap@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/xentrace/xenalyze.c