Re: [PATCH v1] uuid: Remove unused uuid_le_to_bin() definition

From: Andy Shevchenko
Date: Thu Jul 02 2020 - 05:44:13 EST


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@xxxxxxxxxxxxxxx>
> ---
> 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