zfsonlinux/zfs — pull request #2255 by cbreak-black (2014-04-13 15:59:41+00:00)
Title: Tautological Compare warning fixes

Since unsigned integers can never be negative, some code can never
be reached and can safely be removed as dead code.
Since enum values are known at compile time, some comparisons are
flagged as always true/false. Special invalid enum values and explicit
casts prevent those warnings.

None of this changes should alter behavior of the resulting binary.