library: delete some obsolete parameter checking logic

This commit removes some obsolete parameter validation
code which was needed back when certain functions were
public, called directly by users (1st/2nd generation).

Now that they're static they can be safely eliminated.

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner
2017-11-19 00:00:00 -06:00
committed by Craig Small
parent 06be33b43e
commit d53ff45b0d
6 changed files with 0 additions and 39 deletions

View File

@ -1004,11 +1004,6 @@ static struct stacks_extent *pids_stacks_alloc (
void *v_head, *v_list;
int i;
if (info == NULL || info->items == NULL)
return NULL;
if (maxstacks < 1)
return NULL;
vect_size = sizeof(void *) * maxstacks; // size of the addr vectors |
vect_size += sizeof(void *); // plus NULL addr delimiter |
head_size = sizeof(struct pids_stack); // size of that head struct |