summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_hid.c
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2009-11-26 00:43:17 +0000
committerthompsa <thompsa@FreeBSD.org>2009-11-26 00:43:17 +0000
commit6745662f291e4a2ec843786b1a2278ae3c3ae675 (patch)
tree75f2e4cf4188e185060baa41ada36997b1b99d2d /sys/dev/usb/usb_hid.c
parent62d1f26939126690c2bc23bbab214c4976da2647 (diff)
downloadFreeBSD-src-6745662f291e4a2ec843786b1a2278ae3c3ae675.zip
FreeBSD-src-6745662f291e4a2ec843786b1a2278ae3c3ae675.tar.gz
Remove overuse of exclamation marks in kernel printfs, there mere fact a
message has been printed is enough to get someones attention. Also remove the line number for DPRINTF/DPRINTFN, it already prints the funtion name and a unique message.
Diffstat (limited to 'sys/dev/usb/usb_hid.c')
-rw-r--r--sys/dev/usb/usb_hid.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/usb/usb_hid.c b/sys/dev/usb/usb_hid.c
index b9d61c9..f13bbf1 100644
--- a/sys/dev/usb/usb_hid.c
+++ b/sys/dev/usb/usb_hid.c
@@ -450,7 +450,7 @@ hid_get_item(struct hid_data *s, struct hid_item *h)
c = &s->cur[s->pushlevel];
} else {
DPRINTFN(0, "Cannot push "
- "item @ %d!\n", s->pushlevel);
+ "item @ %d\n", s->pushlevel);
}
break;
case 11: /* Pop */
@@ -468,7 +468,7 @@ hid_get_item(struct hid_data *s, struct hid_item *h)
c->loc.count = 0;
} else {
DPRINTFN(0, "Cannot pop "
- "item @ %d!\n", s->pushlevel);
+ "item @ %d\n", s->pushlevel);
}
break;
default:
@@ -490,7 +490,7 @@ hid_get_item(struct hid_data *s, struct hid_item *h)
s->usages_max[s->nusage] = dval;
s->nusage ++;
} else {
- DPRINTFN(0, "max usage reached!\n");
+ DPRINTFN(0, "max usage reached\n");
}
/* clear any pending usage sets */
@@ -525,7 +525,7 @@ hid_get_item(struct hid_data *s, struct hid_item *h)
c->usage_maximum;
s->nusage ++;
} else {
- DPRINTFN(0, "Usage set dropped!\n");
+ DPRINTFN(0, "Usage set dropped\n");
}
s->susage = 0;
break;
OpenPOWER on IntegriCloud