summaryrefslogtreecommitdiff
path: root/include/linux/kernel.h
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2020-01-15 18:31:37 +0100
committerWolfram Sang <wsa@the-dreams.de>2020-01-15 18:31:37 +0100
commitd02e5ee09bd98b8cec9c2e26b486ed4d6d1b7e2a (patch)
tree7cb6fa45fd1cb4bdad89c7b7832a72df893c838c /include/linux/kernel.h
parent9f7a03642e0e25dc0561be124bddae2b8ed787ab (diff)
parent24a49678f5e20f18006e71b90ac1531876b27eb1 (diff)
Merge branch 'i2c/for-current' into i2c/for-5.6
Diffstat (limited to 'include/linux/kernel.h')
-rw-r--r--include/linux/kernel.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h
index 3adcb39fa6f5..0d9db2a14f44 100644
--- a/include/linux/kernel.h
+++ b/include/linux/kernel.h
@@ -79,15 +79,6 @@
*/
#define round_down(x, y) ((x) & ~__round_mask(x, y))
-/**
- * FIELD_SIZEOF - get the size of a struct's field
- * @t: the target struct
- * @f: the target struct's field
- * Return: the size of @f in the struct definition without having a
- * declared instance of @t.
- */
-#define FIELD_SIZEOF(t, f) (sizeof(((t*)0)->f))
-
#define typeof_member(T, m) typeof(((T*)0)->m)
#define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP