signed: comparing to literals together creates a false positive
commit5ee5de6248ceb090a96128641a7add28e599217b
authorDan Carpenter <error27@gmail.com>
Sat, 22 May 2010 20:05:50 +0000 (22 22:05 +0200)
committerDan Carpenter <error27@gmail.com>
Sat, 22 May 2010 20:05:50 +0000 (22 22:05 +0200)
treedf8c0dd5cf7a21705571da788b5d8d6cf03ea17e
parent5d392341303c09de3e54910f4ffa0169f89a73fd
signed: comparing to literals together creates a false positive

There is a macro in the kernel is_signed_type() which does this:

#define is_signed_type(type)    (((type)(-1)) < 0)

In fact any time we compare two literals they are always going to either be
always false or always true.  So we don't need to worry about that here.

Signed-off-by: Dan Carpenter <error27@gmail.com>
check_signed.c