Skip to contentSkip to conversation

uuid: Remove unused uuid_le_to_bin() definition

PATCH Applied Andy Shevchenko 2 participants 3 messages Jun 22, 2020 – Jul 20, 2020 Uuid helpers

lore
Share & tools
lore

Andy Shevchenko

author reviewer
#0 lore raw

PATCH 1/1 uuid: Remove unused uuid_le_to_bin() definition

There is no more user, so remove it.

---
 include/linux/uuid.h | 2 --
 1 file changed, 2 deletions(-)
include/linux/uuid.h +0 -2
index d41b0d3e9474..8cdc0d3567cd 100644
@@ -98,8 +98,6 @@ int guid_parse(const char *uuid, guid_t *u);
 int uuid_parse(const char *uuid, uuid_t *u);
 
 /* backwards compatibility, don't use in new code */
-#define uuid_le_to_bin(guid, u)	guid_parse(guid, u)
-
 static inline int uuid_le_cmp(const guid_t u1, const guid_t u2)
 {
 	return memcmp(&u1, &u2, sizeof(guid_t));
Signature · 1 line
2.27.0
author reviewer
#1 lore raw
Quoted 1 line · Andy Shevchenko

There is no more user, so remove it.

Can we do this?

Quoted 21 lines
---
 include/linux/uuid.h | 2 --
 1 file changed, 2 deletions(-)
include/linux/uuid.h +0 -2
index d41b0d3e9474..8cdc0d3567cd 100644
@@ -98,8 +98,6 @@ int guid_parse(const char *uuid, guid_t *u);
 int uuid_parse(const char *uuid, uuid_t *u);
 
 /* backwards compatibility, don't use in new code */
-#define uuid_le_to_bin(guid, u)	guid_parse(guid, u)
-
 static inline int uuid_le_cmp(const guid_t u1, const guid_t u2)
 {
 	return memcmp(&u1, &u2, sizeof(guid_t));
Signature · 1 line
2.27.0
Signature · 2 lines
With Best Regards,
Andy Shevchenko