Re: [Xen-devel] [PATCH 2/8] tools/xenalyze: Avoid redundant check

2016-02-29 Thread Konrad Rzeszutek Wilk
On Fri, Feb 26, 2016 at 12:23:15PM +, Ian Jackson wrote: > George Dunlap writes ("[PATCH 2/8] 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 1

Re: [Xen-devel] [PATCH 2/8] tools/xenalyze: Avoid redundant check

2016-02-26 Thread Ian Jackson
George Dunlap writes ("[PATCH 2/8] 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 Acked-by: Ian Jackson __

[Xen-devel] [PATCH 2/8] tools/xenalyze: Avoid redundant check

2016-02-25 Thread George Dunlap
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 --- CC: Ian Jackson CC: Wei Liu --- tools/xentrace/xenalyze.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/to