STAGING: COMEDI: Remove unnecessary typecast of c90 int constant
authorPablo G. Gallardo <pggllrd@gmail.com>
Thu, 4 Feb 2016 23:43:13 +0000 (21:43 -0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 02:38:37 +0000 (18:38 -0800)
This patch removes unnecessary typecast of c90 int constant.

Signed-off-by: Pablo G. Gallardo <pggllrd@gmail.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/comedi.h

index 83bd309d011b9f6cd07ea3ddb97059c9c96f017f..f0d1b15f3c5afb3aa02e4f800e815b9710ab9ab2 100644 (file)
@@ -516,7 +516,7 @@ struct comedi_bufinfo {
 #define UNIT_mA                        1
 #define UNIT_none              2
 
-#define COMEDI_MIN_SPEED       ((unsigned int)0xffffffff)
+#define COMEDI_MIN_SPEED       0xffffffffu
 
 /**********************************************************/
 /* everything after this line is ALPHA */