diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-02-02 17:54:12 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-02-03 09:23:03 +0300 |
commit | f5b3c341a46ec55d93332ee5c254a278af902ffe (patch) | |
tree | a31af87db839d1ce65a42ec69e9ee67c813ed23a /include/linux/uuid.h | |
parent | 196db6bb44738b76d7401c33aadadcea307894c2 (diff) | |
download | linux-f5b3c341a46ec55d93332ee5c254a278af902ffe.tar.xz |
mei: Move uuid_le_cmp() to its only user
There is only a single user of uuid_le_cmp() API, let's make it private
to that user.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20230202145412.87569-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/uuid.h')
-rw-r--r-- | include/linux/uuid.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/uuid.h b/include/linux/uuid.h index 5be158a49e11..6b1a3efa1e0b 100644 --- a/include/linux/uuid.h +++ b/include/linux/uuid.h @@ -110,9 +110,4 @@ int uuid_parse(const char *uuid, uuid_t *u); /* MEI UUID type, don't use anywhere else */ #include <uapi/linux/uuid.h> -static inline int uuid_le_cmp(const uuid_le u1, const uuid_le u2) -{ - return memcmp(&u1, &u2, sizeof(uuid_le)); -} - #endif |