library: whack a superfluous assignment, <MEMINFO> api
This patch was prompted through work on the <slabinfo> upgrade from 2nd gen to 3rd. And while this assignment caused no real harm, it most certainly was misleading. [ plus add a couple of overlooked #undef directives! ] Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
parent
8a7fcc02d1
commit
b700d91f84
@ -460,6 +460,8 @@ enum meminfo_item PROCPS_MEMINFO_logical_end = PROCPS_MEMINFO_SWAP_USED + 1;
|
||||
#undef getDECL
|
||||
#undef MEM_get
|
||||
#undef HST_get
|
||||
#undef RS
|
||||
#undef RG
|
||||
|
||||
// ___ Private Functions ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||
|
||||
@ -1002,7 +1004,7 @@ PROCPS_EXPORT struct meminfo_stack *procps_meminfo_select (
|
||||
extents_free_all(info);
|
||||
}
|
||||
if (!info->extents
|
||||
&& !(info->extents = stacks_alloc(info, 1)))
|
||||
&& !(stacks_alloc(info, 1)))
|
||||
return NULL;
|
||||
|
||||
if (info->dirty_stacks)
|
||||
|
Loading…
x
Reference in New Issue
Block a user