Re: [PATCH v2 8/8] libmpathutil: remove VECTOR_DEFAULT_SIZE macro

2025-05-12 Thread Benjamin Marzinski
On Wed, May 07, 2025 at 09:05:52PM +0200, Martin Wilck wrote: > We always add or remove a single element in vector_add_slot() and > vector_remove_slot(). Use of the VECTOR_DEFAULT_SIZE macro suggests that > its value can be changed, but this is not the case. > > Remove the macro. > > Signed-off-b

[PATCH v2 8/8] libmpathutil: remove VECTOR_DEFAULT_SIZE macro

2025-05-07 Thread Martin Wilck
We always add or remove a single element in vector_add_slot() and vector_remove_slot(). Use of the VECTOR_DEFAULT_SIZE macro suggests that its value can be changed, but this is not the case. Remove the macro. Signed-off-by: Martin Wilck --- libmpathutil/vector.c | 4 ++-- libmpathutil/vector.h