* [nacked] befs-remove-unused-endian-functions.patch removed from -mm tree
@ 2016-06-01 19:20 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2016-06-01 19:20 UTC (permalink / raw)
To: luisbg, viro, mm-commits
The patch titled
Subject: befs: remove unused endian functions
has been removed from the -mm tree. Its filename was
befs-remove-unused-endian-functions.patch
This patch was dropped because it was nacked
------------------------------------------------------
From: Luis de Bethencourt <luisbg@osg.samsung.com>
Subject: befs: remove unused endian functions
Remove endianness conversion functions that are declared but never used.
Link: http://lkml.kernel.org/r/1464701277-29962-1-git-send-email-luisbg@osg.samsung.com
Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
fs/befs/endian.h | 44 --------------------------------------------
1 file changed, 44 deletions(-)
diff -puN fs/befs/endian.h~befs-remove-unused-endian-functions fs/befs/endian.h
--- a/fs/befs/endian.h~befs-remove-unused-endian-functions
+++ a/fs/befs/endian.h
@@ -20,15 +20,6 @@ fs64_to_cpu(const struct super_block *sb
return be64_to_cpu((__force __be64)n);
}
-static inline fs64
-cpu_to_fs64(const struct super_block *sb, u64 n)
-{
- if (BEFS_SB(sb)->byte_order == BEFS_BYTESEX_LE)
- return (__force fs64)cpu_to_le64(n);
- else
- return (__force fs64)cpu_to_be64(n);
-}
-
static inline u32
fs32_to_cpu(const struct super_block *sb, fs32 n)
{
@@ -38,15 +29,6 @@ fs32_to_cpu(const struct super_block *sb
return be32_to_cpu((__force __be32)n);
}
-static inline fs32
-cpu_to_fs32(const struct super_block *sb, u32 n)
-{
- if (BEFS_SB(sb)->byte_order == BEFS_BYTESEX_LE)
- return (__force fs32)cpu_to_le32(n);
- else
- return (__force fs32)cpu_to_be32(n);
-}
-
static inline u16
fs16_to_cpu(const struct super_block *sb, fs16 n)
{
@@ -56,15 +38,6 @@ fs16_to_cpu(const struct super_block *sb
return be16_to_cpu((__force __be16)n);
}
-static inline fs16
-cpu_to_fs16(const struct super_block *sb, u16 n)
-{
- if (BEFS_SB(sb)->byte_order == BEFS_BYTESEX_LE)
- return (__force fs16)cpu_to_le16(n);
- else
- return (__force fs16)cpu_to_be16(n);
-}
-
/* Composite types below here */
static inline befs_block_run
@@ -83,23 +56,6 @@ fsrun_to_cpu(const struct super_block *s
}
return run;
}
-
-static inline befs_disk_block_run
-cpu_to_fsrun(const struct super_block *sb, befs_block_run n)
-{
- befs_disk_block_run run;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-06-01 19:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-01 19:20 [nacked] befs-remove-unused-endian-functions.patch removed from -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.