linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1] uuid: Remove unused uuid_le_to_bin() definition
@ 2020-06-22  7:53 Andy Shevchenko
  2020-07-02  9:44 ` Andy Shevchenko
  2020-07-20 13:04 ` Christoph Hellwig
  0 siblings, 2 replies; 3+ messages in thread
From: Andy Shevchenko @ 2020-06-22  7:53 UTC (permalink / raw)
  To: Christoph Hellwig, linux-kernel; +Cc: Andy Shevchenko

There is no more user, so remove it.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 include/linux/uuid.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/linux/uuid.h b/include/linux/uuid.h
index d41b0d3e9474..8cdc0d3567cd 100644
--- a/include/linux/uuid.h
+++ b/include/linux/uuid.h
@@ -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));
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v1] uuid: Remove unused uuid_le_to_bin() definition
  2020-06-22  7:53 [PATCH v1] uuid: Remove unused uuid_le_to_bin() definition Andy Shevchenko
@ 2020-07-02  9:44 ` Andy Shevchenko
  2020-07-20 13:04 ` Christoph Hellwig
  1 sibling, 0 replies; 3+ messages in thread
From: Andy Shevchenko @ 2020-07-02  9:44 UTC (permalink / raw)
  To: Christoph Hellwig, linux-kernel

On Mon, Jun 22, 2020 at 10:53:55AM +0300, Andy Shevchenko wrote:
> There is no more user, so remove it.

Can we do this?

> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
>  include/linux/uuid.h | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/include/linux/uuid.h b/include/linux/uuid.h
> index d41b0d3e9474..8cdc0d3567cd 100644
> --- a/include/linux/uuid.h
> +++ b/include/linux/uuid.h
> @@ -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));
> -- 
> 2.27.0
> 

-- 
With Best Regards,
Andy Shevchenko



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v1] uuid: Remove unused uuid_le_to_bin() definition
  2020-06-22  7:53 [PATCH v1] uuid: Remove unused uuid_le_to_bin() definition Andy Shevchenko
  2020-07-02  9:44 ` Andy Shevchenko
@ 2020-07-20 13:04 ` Christoph Hellwig
  1 sibling, 0 replies; 3+ messages in thread
From: Christoph Hellwig @ 2020-07-20 13:04 UTC (permalink / raw)
  To: Andy Shevchenko; +Cc: Christoph Hellwig, linux-kernel

On Mon, Jun 22, 2020 at 10:53:55AM +0300, Andy Shevchenko wrote:
> There is no more user, so remove it.

Thanks,

applied to the uuid tree.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-07-20 13:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-22  7:53 [PATCH v1] uuid: Remove unused uuid_le_to_bin() definition Andy Shevchenko
2020-07-02  9:44 ` Andy Shevchenko
2020-07-20 13:04 ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).