Skip to content

Commit

Permalink
13416 libprtdiag_psr: variable 'ap_args' set but not used
Browse files Browse the repository at this point in the history
Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
Reviewed by: Peter Tribble <peter.tribble@gmail.com>
Approved by: Dan McDonald <danmcd@joyent.com>
  • Loading branch information
tsoome committed Jan 11, 2021
1 parent 16d53a8 commit aa35d5f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions usr/src/lib/libprtdiag_psr/sparc/serengeti/common/serengeti.c
Original file line number Diff line number Diff line change
Expand Up @@ -959,15 +959,13 @@ cpu_node_configured(char *const node)
int nlist = 0;
boolean_t rv;
char *err_string = NULL;
char *const *ap_args = NULL;
struct cfga_list_data *statlist = NULL;
struct cfga_list_data dat;
cfga_flags_t flags = CFGA_FLAG_LIST_ALL;

if (node == NULL)
return (FALSE);

ap_args = &node;
ret = config_list_ext(1, &node, &statlist, &nlist,
NULL, NULL, &err_string, flags);

Expand Down

0 comments on commit aa35d5f

Please sign in to comment.