diff options
author | Joe Perches <joe@perches.com> | 2014-11-11 16:37:30 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-11-11 18:11:00 -0500 |
commit | 6c91023dc35c88d5e6aebe4bfe6f1ed5ec2b84be (patch) | |
tree | 2f33e40962dd622ae926ff7e8284f3ef540d3ca9 /net/irda/irlap_event.c | |
parent | 09626e9d153326ca82568e4e27f2daa53713992e (diff) |
irda: Remove IRDA_<TYPE> logging macros
And use the more common mechanisms directly.
Other miscellanea:
o Coalesce formats
o Add missing newlines
o Realign arguments
o Remove unnecessary OOM message logging as
there's a generic stack dump already on OOM.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/irda/irlap_event.c')
-rw-r--r-- | net/irda/irlap_event.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net/irda/irlap_event.c b/net/irda/irlap_event.c index ccd214f9d196..5f4a84eb35c7 100644 --- a/net/irda/irlap_event.c +++ b/net/irda/irlap_event.c | |||
@@ -572,9 +572,8 @@ static int irlap_state_query(struct irlap_cb *self, IRLAP_EVENT event, | |||
572 | info->discovery->data.daddr); | 572 | info->discovery->data.daddr); |
573 | 573 | ||
574 | if (!self->discovery_log) { | 574 | if (!self->discovery_log) { |
575 | IRDA_WARNING("%s: discovery log is gone! " | 575 | net_warn_ratelimited("%s: discovery log is gone! maybe the discovery timeout has been set too short?\n", |
576 | "maybe the discovery timeout has been set" | 576 | __func__); |
577 | " too short?\n", __func__); | ||
578 | break; | 577 | break; |
579 | } | 578 | } |
580 | hashbin_insert(self->discovery_log, | 579 | hashbin_insert(self->discovery_log, |