Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1327356

[PATCH v2 1/2] STAGING: COMEDI: Remove unnecessary typecast of c90 int constant

From "Pablo G. Gallardo" <pggllrd@gmail.com>
Newsgroups linux.kernel
Subject [PATCH v2 1/2] STAGING: COMEDI: Remove unnecessary typecast of c90 int constant
Date 2016-02-05 00:50 +0100
Message-ID <qYBOV-xk-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


This patch removes unnecessary typecast of c90 int constant.

Signed-off-by: Pablo G. Gallardo <pggllrd@gmail.com>
---
 drivers/staging/comedi/comedi.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/comedi/comedi.h b/drivers/staging/comedi/comedi.h
index 83bd309..f0d1b15 100644
--- a/drivers/staging/comedi/comedi.h
+++ b/drivers/staging/comedi/comedi.h
@@ -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 */
-- 
2.7.0

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v2 1/2] STAGING: COMEDI: Remove unnecessary typecast of c90 int constant "Pablo G. Gallardo" <pggllrd@gmail.com> - 2016-02-05 00:50 +0100
  [PATCH v2 2/2] STAGING: COMEDI: Wrap line over 80 characters "Pablo G. Gallardo" <pggllrd@gmail.com> - 2016-02-05 01:10 +0100
    Re: [PATCH v2 2/2] STAGING: COMEDI: Wrap line over 80 characters Ian Abbott <abbotti@mev.co.uk> - 2016-02-05 11:30 +0100
  Re: [PATCH v2 1/2] STAGING: COMEDI: Remove unnecessary typecast of  c90 int constant Ian Abbott <abbotti@mev.co.uk> - 2016-02-05 11:30 +0100

csiph-web