]> git.karo-electronics.de Git - mv-sheeva.git/commit
staging: comedi: comedi_fops: Removed int overflow check
authorFlorian Schmaus <fschmaus@gmail.com>
Thu, 8 Dec 2011 11:12:45 +0000 (12:12 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 8 Dec 2011 23:59:09 +0000 (15:59 -0800)
commitc5018168a59b92ec3bd0f7b598e6d0d64d507e1e
tree9ff403e6cb3631eb9746d1cf719cc20ed6f09cf0
parent2e1c394fc398afb75d89c53f933149d33dc9e280
staging: comedi: comedi_fops: Removed int overflow check

This became unnecessary with the previous commit.
Improved the readability of the remaining check, by using UINT_MAX.

Signed-off-by: Florian Schmaus <fschmaus@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/comedi_fops.c