- SICS cleanup: removed unused code

SKIPPED:
	psi/make_gen
	psi/makefile_linux
	psi/polterwrite.c
	psi/psi.c
This commit is contained in:
koennecke
2010-01-19 12:55:40 +00:00
parent c3b3ab1f06
commit be13da8a03
19 changed files with 11 additions and 3712 deletions

View File

@@ -303,7 +303,13 @@ static int SctMatch(void *data1, void *data2)
return a->node == b->node && strcasecmp(a->name, b->name) == 0;
}
/*
* This routine is running the script chain
* This routine is running the script chain. It is called repeatedly
* with response data from the device serializer (devser). This function
* basically:
* - Figures out which script to run
* - Runs the script
* - Based on the result either returns the next string to send to the
* device or NULL when the script chain is done with
*/
static char *SctActionHandler(void *actionData, char *lastReply,
int commError)
@@ -351,7 +357,7 @@ static char *SctActionHandler(void *actionData, char *lastReply,
* When this is a followup, we use the content of the
* state field as the property storing the next script to
* run. If this is the start of a chain this is set to the
* data->name which is mortly either read or write
* data->name which is mostly either read or write
*/
state = GetProp(node, controller->node, "state");
if (state == NULL || strcasecmp(state, "idle") == 0) {