From 8f67fec1ba91856b186aa20a43e683b49c1e10cb Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Mon, 16 Sep 2019 17:22:55 +0200 Subject: [PATCH] headers: Remove le16/32/64_to_cpu There are no remaining callers of these routines, which are no longer required when using ceph_le16/32/64 (and were no-ops already). Signed-off-by: Ulrich Weigand --- src/include/byteorder.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/include/byteorder.h b/src/include/byteorder.h index 85268543143..211b0a9441e 100644 --- a/src/include/byteorder.h +++ b/src/include/byteorder.h @@ -99,11 +99,3 @@ inline ceph_le16 init_le16(__u16 x) { return v; } - /* -#define cpu_to_le64(x) (x) -#define cpu_to_le32(x) (x) -#define cpu_to_le16(x) (x) - */ -#define le64_to_cpu(x) ((uint64_t)x) -#define le32_to_cpu(x) ((__u32)x) -#define le16_to_cpu(x) ((__u16)x) -- 2.39.5