Commit d7bd8ce5 authored by Martin Dalecki's avatar Martin Dalecki Committed by Linus Torvalds

[PATCH] kill warnings 13/19

irlap_event was abusing __FUNCTION__ too.
parent 6996a8ab
...@@ -578,9 +578,9 @@ static int irlap_state_query(struct irlap_cb *self, IRLAP_EVENT event, ...@@ -578,9 +578,9 @@ static int irlap_state_query(struct irlap_cb *self, IRLAP_EVENT event,
info->discovery->daddr); info->discovery->daddr);
if (!self->discovery_log) { if (!self->discovery_log) {
WARNING(__FUNCTION__ "(), discovery log is gone! " WARNING("%s: discovery log is gone! "
"maybe the discovery timeout has been set to " "maybe the discovery timeout has been set to "
"short?\n"); "short?\n", __FUNCTION__);
break; break;
} }
hashbin_insert(self->discovery_log, hashbin_insert(self->discovery_log,
...@@ -1353,7 +1353,7 @@ static int irlap_state_nrm_p(struct irlap_cb *self, IRLAP_EVENT event, ...@@ -1353,7 +1353,7 @@ static int irlap_state_nrm_p(struct irlap_cb *self, IRLAP_EVENT event,
del_timer(&self->final_timer); del_timer(&self->final_timer);
irlap_data_indication(self, skb, TRUE); irlap_data_indication(self, skb, TRUE);
irlap_next_state(self, LAP_XMIT_P); irlap_next_state(self, LAP_XMIT_P);
printk(__FUNCTION__ "(): RECV_UI_FRAME: next state %s\n", irlap_state[self->state]); printk("%s: RECV_UI_FRAME: next state %s\n", __FUNCTION__, irlap_state[self->state]);
irlap_start_poll_timer(self, self->poll_timeout); irlap_start_poll_timer(self, self->poll_timeout);
} }
break; break;
...@@ -2121,9 +2121,6 @@ static int irlap_state_nrm_s(struct irlap_cb *self, IRLAP_EVENT event, ...@@ -2121,9 +2121,6 @@ static int irlap_state_nrm_s(struct irlap_cb *self, IRLAP_EVENT event,
/* /*
* Function irlap_state_sclose (self, event, skb, info) * Function irlap_state_sclose (self, event, skb, info)
*
*
*
*/ */
static int irlap_state_sclose(struct irlap_cb *self, IRLAP_EVENT event, static int irlap_state_sclose(struct irlap_cb *self, IRLAP_EVENT event,
struct sk_buff *skb, struct irlap_info *info) struct sk_buff *skb, struct irlap_info *info)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment