Commit 21b26f2f authored by Ursula Braun's avatar Ursula Braun Committed by Jeff Garzik

netiucv: change name of nop function

Dummy NOP actions for fsm-statemachines have to be defined
separately for every using module of fsm-statemachines.
Thus the generic name fsm_action_nop is replaced by
module specific name netiucv_action_nop.
Signed-off-by: default avatarUrsula Braun <braunu@de.ibm.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 2219510f
...@@ -573,9 +573,9 @@ static void netiucv_callback_connres(struct iucv_path *path, u8 ipuser[16]) ...@@ -573,9 +573,9 @@ static void netiucv_callback_connres(struct iucv_path *path, u8 ipuser[16])
} }
/** /**
* Dummy NOP action for all statemachines * NOP action for statemachines
*/ */
static void fsm_action_nop(fsm_instance *fi, int event, void *arg) static void netiucv_action_nop(fsm_instance *fi, int event, void *arg)
{ {
} }
...@@ -1111,7 +1111,7 @@ static const fsm_node dev_fsm[] = { ...@@ -1111,7 +1111,7 @@ static const fsm_node dev_fsm[] = {
{ DEV_STATE_RUNNING, DEV_EVENT_STOP, dev_action_stop }, { DEV_STATE_RUNNING, DEV_EVENT_STOP, dev_action_stop },
{ DEV_STATE_RUNNING, DEV_EVENT_CONDOWN, dev_action_conndown }, { DEV_STATE_RUNNING, DEV_EVENT_CONDOWN, dev_action_conndown },
{ DEV_STATE_RUNNING, DEV_EVENT_CONUP, fsm_action_nop }, { DEV_STATE_RUNNING, DEV_EVENT_CONUP, netiucv_action_nop },
}; };
static const int DEV_FSM_LEN = sizeof(dev_fsm) / sizeof(fsm_node); static const int DEV_FSM_LEN = sizeof(dev_fsm) / sizeof(fsm_node);
......
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