Commit dfbc3c6c authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by Linus Torvalds

uuid: cleanup <uapi/linux/uuid.h>

Exported header doesn't use anything from <linux/string.h>,
it is <linux/uuid.h> which uses memcmp().

Link: http://lkml.kernel.org/r/20171225171121.GA22754@avx2Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 44c6dc94
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
#define _LINUX_UUID_H_ #define _LINUX_UUID_H_
#include <uapi/linux/uuid.h> #include <uapi/linux/uuid.h>
#include <linux/string.h>
#define UUID_SIZE 16 #define UUID_SIZE 16
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#define _UAPI_LINUX_UUID_H_ #define _UAPI_LINUX_UUID_H_
#include <linux/types.h> #include <linux/types.h>
#include <linux/string.h>
typedef struct { typedef struct {
__u8 b[16]; __u8 b[16];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment