lib: remove unused `STROF` definition (NFC)
Commit Message
This definition was in the fallback path, where `sys/cdefs.h` is not
available. Now that we have a single path through here, this macro gets
defined, though is unused. Remove the unused macro definition.
Signed-off-by: Saleem Abdulrasool <abdulras@google.com>
---
lib/ChangeLog | 4 ++++
lib/fixedsizehash.h | 1 -
2 files changed, 4 insertions(+), 1 deletion(-)
Comments
Hi Saleem,
On Fri, 2021-08-27 at 15:20 +0000, Saleem Abdulrasool via Elfutils-devel wrote:
> This definition was in the fallback path, where `sys/cdefs.h` is not
> available. Now that we have a single path through here, this macro gets
> defined, though is unused. Remove the unused macro definition.
The STROF macro is not used, so this is indeed a NFC.
Pushed.
Thanks,
Mark
@@ -1,3 +1,7 @@
+2021-08-21 Saleem Abdulrasool <abdulras@google.com>
+
+ * fixedsizehash.h: Remove unused STROF macro.
+
2021-08-20 Saleem Abdulrasool <abdulras@google.com>
* fixedsizehash.h: Remove sys/cdefs.h include. Unconditionally
@@ -33,7 +33,6 @@
#include <system.h>
-#define STROF(t2) t2
#define CONCAT_EXPANDED(t1,t2) t1 ## t2
#define CONCAT(t1,t2) CONCAT_EXPANDED(t1,t2)