[SCSI] pmcraid: redundant check in pmcraid_check_ioctl_buffer()
authorRoel Kluin <roel.kluin@gmail.com>
Thu, 11 Mar 2010 22:09:44 +0000 (14:09 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 11 Apr 2010 14:23:32 +0000 (09:23 -0500)
commitf3d6e1dcd291fd0da3accb0d60fbd0d26d2189ed
tree8c5f8bb01cccd53aae7f4b5137e797b4b1de52f2
parent6ce00cae684e7c6310e14634320184ca3c011750
[SCSI] pmcraid: redundant check in pmcraid_check_ioctl_buffer()

struct pmcraid_ioctl_header member buffer_length is unsigned, so this
check appears redundant.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Anil Ravindranath <anil_ravindranath@pmc-sierra.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/pmcraid.c