Replaced an "if(0)" with an "#if 0".
authorFrank Mori Hess <fmhess@speakeasy.net>
Mon, 28 Jan 2008 19:32:30 +0000 (19:32 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Mon, 28 Jan 2008 19:32:30 +0000 (19:32 +0000)
comedi/drivers/ni_mio_common.c

index f667bed1e93ee06372f77f7148f1368bb87a3520..c6d316aee6bd5a14c444a18bac998c703860c0d2 100644 (file)
@@ -5743,13 +5743,13 @@ static int init_cs5529(comedi_device * dev)
        if (cs5529_wait_for_idle(dev))
                comedi_error(dev, "timeout or signal in init_cs5529()\n");
 #endif
-       if (0) {
-               rt_printk("config: 0x%x\n", cs5529_config_read(dev,
-                               CSCMD_CONFIG_REGISTER));
-               rt_printk("gain: 0x%x\n", cs5529_config_read(dev,
-                               CSCMD_GAIN_REGISTER));
-               rt_printk("offset: 0x%x\n", cs5529_config_read(dev,
-                               CSCMD_OFFSET_REGISTER));
-       }
+#if 0
+       rt_printk("config: 0x%x\n", cs5529_config_read(dev,
+               CSCMD_CONFIG_REGISTER));
+       rt_printk("gain: 0x%x\n", cs5529_config_read(dev,
+               CSCMD_GAIN_REGISTER));
+       rt_printk("offset: 0x%x\n", cs5529_config_read(dev,
+               CSCMD_OFFSET_REGISTER));
+#endif
        return 0;
 }