diff options
author | 2005-12-30 17:39:33 +0000 | |
---|---|---|
committer | 2005-12-30 17:39:33 +0000 | |
commit | 612399844bb29fc5e29572af060b07b818971cce (patch) | |
tree | 5bc68033bb04fec3018efc6ac5ee472113eebc05 | |
parent | There is no attr_mp_nexthop() function, remove the prototype. (diff) | |
download | wireguard-openbsd-612399844bb29fc5e29572af060b07b818971cce.tar.xz wireguard-openbsd-612399844bb29fc5e29572af060b07b818971cce.zip |
knf (replace lines of c++/c99 '//' comments with #if 0)
-rw-r--r-- | sys/dev/i2c/i2c_scan.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/sys/dev/i2c/i2c_scan.c b/sys/dev/i2c/i2c_scan.c index 0ed2878e12d..089d82941a0 100644 --- a/sys/dev/i2c/i2c_scan.c +++ b/sys/dev/i2c/i2c_scan.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i2c_scan.c,v 1.39 2005/12/30 09:45:20 kettenis Exp $ */ +/* $OpenBSD: i2c_scan.c,v 1.40 2005/12/30 17:39:33 reyk Exp $ */ /* * Copyright (c) 2005 Theo de Raadt <deraadt@openbsd.org> @@ -463,10 +463,12 @@ iic_probe(struct device *self, struct i2cbus_attach_args *iba, u_int8_t addr) #ifdef I2C_DEBUG printf("%s: addr 0x%x", self->dv_xname, addr); -// for (i = 0; i < sizeof(probereg); i++) { -// if (iicprobe(probereg[i]) != 0xff) -// printf(" %02x=%02x", probereg[i], iicprobe(probereg[i])); -// } +#if 0 + for (i = 0; i < sizeof(probereg); i++) { + if (iicprobe(probereg[i]) != 0xff) + printf(" %02x=%02x", probereg[i], iicprobe(probereg[i])); + } +#endif for (i = 0; i <= 0xff; i++) { if (iicprobe(i) != 0xff) printf(" %02x=%02x", i, iicprobe(i)); |