RE: [PATCH] hv: Remove unnecessary comparison of unsigned against 0

2014-04-25 Thread KY Srinivasan
> -Original Message- > From: Tobias Klauser [mailto:tklau...@distanz.ch] > Sent: Friday, April 25, 2014 8:04 AM > To: KY Srinivasan; Haiyang Zhang > Cc: de...@linuxdriverproject.org > Subject: [PATCH] hv: Remove unnecessary comparison of unsigned against 0 > >

[PATCH] hv: Remove unnecessary comparison of unsigned against 0

2014-04-25 Thread Tobias Klauser
pfncount is of type u32 and thus can never be smaller than 0. Found by the coverity scanner, CID 143213. Signed-off-by: Tobias Klauser --- drivers/hv/channel.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/hv/channel.c b/drivers/hv/channel.c index 602ca86..17c