From 6464ef5f5443330a8c1b3417acd4f75d1a64c5e9 Mon Sep 17 00:00:00 2001 From: Moe Jette <jette1@llnl.gov> Date: Tue, 7 Oct 2008 18:43:09 +0000 Subject: [PATCH] Remove vestigial function --- src/plugins/task/affinity/task_affinity.c | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/src/plugins/task/affinity/task_affinity.c b/src/plugins/task/affinity/task_affinity.c index cb5bb678391..37526fe6a7c 100644 --- a/src/plugins/task/affinity/task_affinity.c +++ b/src/plugins/task/affinity/task_affinity.c @@ -102,28 +102,6 @@ extern int fini (void) return SLURM_SUCCESS; } -/* - * _isvalue_task - * returns 1 is the argument appears to be a value, 0 otherwise - * this should be identical to _isvalue in src/srun/opt.c - */ -static int _isvalue_task(char *arg) -{ - if (isdigit(*arg)) { /* decimal values and 0x.. hex values */ - return 1; - } - - while (isxdigit(*arg)) { /* hex values not preceded by 0x */ - arg++; - } - - if ((*arg == ',') || (*arg == '\0')) { /* end of field or string */ - return 1; - } - - return 0; /* not a value */ -} - /* cpu bind enforcement, update binding type based upon the * TaskPluginParam configuration parameter */ static void _update_bind_type(launch_tasks_request_msg_t *req) -- GitLab