[PATCH] lib: remove unused `STROF` definition (NFC)

Saleem Abdulrasool abdulras@google.com
Fri Aug 27 15:20:13 GMT 2021


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(-)

diff --git a/lib/ChangeLog b/lib/ChangeLog
index a95f8041..5f1de1e2 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -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
diff --git a/lib/fixedsizehash.h b/lib/fixedsizehash.h
index f333ad99..14f0fb88 100644
--- a/lib/fixedsizehash.h
+++ b/lib/fixedsizehash.h
@@ -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)
 
-- 
2.33.0.259.gc128427fd7-goog



More information about the Elfutils-devel mailing list