mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 1/2] STAGING: COMEDI: Remove unnecessary typecast of c90 int constant
@ 2016-02-04 23:43 Pablo G. Gallardo
  2016-02-04 23:43 ` [PATCH v2 2/2] STAGING: COMEDI: Wrap line over 80 characters Pablo G. Gallardo
  2016-02-05 10:24 ` [PATCH v2 1/2] STAGING: COMEDI: Remove unnecessary typecast of c90 int constant Ian Abbott
  0 siblings, 2 replies; 4+ messages in thread
From: Pablo G. Gallardo @ 2016-02-04 23:43 UTC (permalink / raw)
  To: greg; +Cc: abbotti, hsweeten, linux-kernel, Pablo G. Gallardo

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-02-05 10:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-04 23:43 [PATCH v2 1/2] STAGING: COMEDI: Remove unnecessary typecast of c90 int constant Pablo G. Gallardo
2016-02-04 23:43 ` [PATCH v2 2/2] STAGING: COMEDI: Wrap line over 80 characters Pablo G. Gallardo
2016-02-05 10:25   ` Ian Abbott
2016-02-05 10:24 ` [PATCH v2 1/2] STAGING: COMEDI: Remove unnecessary typecast of c90 int constant Ian Abbott

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome