RDMA/ucm: Removed checks for unsigned value < 0
authorHefty, Sean <sean.hefty@intel.com>
Thu, 6 Oct 2011 16:33:05 +0000 (09:33 -0700)
committerRoland Dreier <roland@purestorage.com>
Thu, 6 Oct 2011 16:33:05 +0000 (09:33 -0700)
commitcaf6e3f221ddc12ccabd1cd0ba149561db0090d4
tree99790c5bdeb1ed62eb0262d78f6f5a7563def9bc
parentb7ab0b19a85fffaa04ad0b59471d3a607eef0a56
RDMA/ucm: Removed checks for unsigned value < 0

cmd is unsigned, no need to check for < 0.  Found by code inspection.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/core/ucm.c
drivers/infiniband/core/ucma.c
drivers/infiniband/core/user_mad.c
drivers/infiniband/core/uverbs_main.c