Commit 3e9048cd authored by Martin Dalecki's avatar Martin Dalecki Committed by Linus Torvalds

[PATCH] kill warnings 10/19

This time for iriap_event.
parent 1f0d16fa
...@@ -362,7 +362,7 @@ static void state_r_disconnect(struct iriap_cb *self, IRIAP_EVENT event, ...@@ -362,7 +362,7 @@ static void state_r_disconnect(struct iriap_cb *self, IRIAP_EVENT event,
case IAP_LM_CONNECT_INDICATION: case IAP_LM_CONNECT_INDICATION:
tx_skb = dev_alloc_skb(64); tx_skb = dev_alloc_skb(64);
if (tx_skb == NULL) { if (tx_skb == NULL) {
WARNING(__FUNCTION__ "(), unable to malloc!\n"); WARNING("%s: unable to malloc!\n", __FUNCTION__);
return; return;
} }
...@@ -392,9 +392,6 @@ static void state_r_disconnect(struct iriap_cb *self, IRIAP_EVENT event, ...@@ -392,9 +392,6 @@ static void state_r_disconnect(struct iriap_cb *self, IRIAP_EVENT event,
/* /*
* Function state_r_call (self, event, skb) * Function state_r_call (self, event, skb)
*
*
*
*/ */
static void state_r_call(struct iriap_cb *self, IRIAP_EVENT event, static void state_r_call(struct iriap_cb *self, IRIAP_EVENT event,
struct sk_buff *skb) struct sk_buff *skb)
...@@ -415,13 +412,10 @@ static void state_r_call(struct iriap_cb *self, IRIAP_EVENT event, ...@@ -415,13 +412,10 @@ static void state_r_call(struct iriap_cb *self, IRIAP_EVENT event,
/* /*
* R-Connect FSM * R-Connect FSM
*/ */
/* /*
* Function state_r_waiting (self, event, skb) * Function state_r_waiting (self, event, skb)
*
*
*
*/ */
static void state_r_waiting(struct iriap_cb *self, IRIAP_EVENT event, static void state_r_waiting(struct iriap_cb *self, IRIAP_EVENT event,
struct sk_buff *skb) struct sk_buff *skb)
...@@ -500,12 +494,8 @@ static void state_r_returning(struct iriap_cb *self, IRIAP_EVENT event, ...@@ -500,12 +494,8 @@ static void state_r_returning(struct iriap_cb *self, IRIAP_EVENT event,
switch (event) { switch (event) {
case IAP_RECV_F_LST: case IAP_RECV_F_LST:
break; break;
default: default:
break; break;
} }
} }
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