diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2022-01-22 17:11:33 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2022-01-22 17:11:33 -0500 |
commit | 62e28097cebf99533bd0badd6f3c6ce9db9f1497 (patch) | |
tree | 51b7635c8a01307cb22d14907a2ed5382560bc15 /src/backend | |
parent | 4f02cbcb6839553c595efa3a2eb1c2a09557ef79 (diff) | |
download | postgresql-62e28097cebf99533bd0badd6f3c6ce9db9f1497.tar.gz postgresql-62e28097cebf99533bd0badd6f3c6ce9db9f1497.zip |
Remove useless inline marker.
Putting "inline" on a function that's not used anywhere in its
own file is useless unless the linker is doing global optimization,
a method we don't generally enable. Moreover, it draws warnings
from some buildfarm members (curculio at least).
Looks like this was sloppiness in cc8b25712, which moved the
function from somewhere else where the inline marker was
more appropriate.
Diffstat (limited to 'src/backend')
-rw-r--r-- | src/backend/commands/vacuum.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/commands/vacuum.c b/src/backend/commands/vacuum.c index 283ffaea77d..d1dadc54e47 100644 --- a/src/backend/commands/vacuum.c +++ b/src/backend/commands/vacuum.c @@ -2317,7 +2317,7 @@ vac_cleanup_one_index(IndexVacuumInfo *ivinfo, IndexBulkDeleteResult *istat) * Returns the total required space for VACUUM's dead_items array given a * max_items value. */ -inline Size +Size vac_max_items_to_alloc_size(int max_items) { Assert(max_items <= MAXDEADITEMS(MaxAllocSize)); |