aboutsummaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_hid.c
diff options
context:
space:
mode:
authorAndrew Thompson <thompsa@FreeBSD.org>2009-11-26 00:43:17 +0000
committerAndrew Thompson <thompsa@FreeBSD.org>2009-11-26 00:43:17 +0000
commit767cb2e29d4183d9978a5973b5092c6e0079eb6b (patch)
tree75f2e4cf4188e185060baa41ada36997b1b99d2d /sys/dev/usb/usb_hid.c
parent38281fea3e290f0b541415a5e6373ae31a22d2a8 (diff)
downloadsrc-767cb2e29d4183d9978a5973b5092c6e0079eb6b.tar.gz
src-767cb2e29d4183d9978a5973b5092c6e0079eb6b.zip
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.
Notes
Notes: svn path=/head/; revision=199816
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 b9d61c91c39a..f13bbf1b1b40 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;