From e17e633da95de61f3eaea23e43b7fac97fe97e86 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Thu, 15 Sep 2016 11:59:38 -0400 Subject: [PATCH] add patch remove-unused-definition --- remove-unused-definition | 29 +++++++++++++++++++++++++++++ series | 1 + timestamps | 5 +++-- 3 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 remove-unused-definition diff --git a/remove-unused-definition b/remove-unused-definition new file mode 100644 index 00000000..e68829a3 --- /dev/null +++ b/remove-unused-definition @@ -0,0 +1,29 @@ +ext4: remove unused definition for MAX_32_NUM + +From: Fabian Frederick + +MAX_32_NUM isn't used in ext4 + +Signed-off-by: Fabian Frederick +Signed-off-by: Theodore Ts'o +--- + fs/ext4/ioctl.c | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/fs/ext4/ioctl.c b/fs/ext4/ioctl.c +index 10686fd..5a708c87 100644 +--- a/fs/ext4/ioctl.c ++++ b/fs/ext4/ioctl.c +@@ -19,8 +19,6 @@ + #include "ext4_jbd2.h" + #include "ext4.h" + +-#define MAX_32_NUM ((((unsigned long long) 1) << 32) - 1) +- + /** + * Swap memory between @a and @b for @len bytes. + * +-- +2.8.1 + + diff --git a/series b/series index 747fce30..7520f752 100644 --- a/series +++ b/series @@ -20,6 +20,7 @@ bugfix-for-mmaped-pages-in-mpage_release_unused_pages fix-memory-leak-in-ext4_insert_range remove-unneeded-test-in-ext4_alloc_file_blocks create-EXT4_MAX_BLOCKS-macro +remove-unused-definition ########################################## # unstable patches diff --git a/timestamps b/timestamps index 67b30a19..1f755d7b 100755 --- a/timestamps +++ b/timestamps @@ -58,6 +58,7 @@ touch -d @1473953566 bugfix-for-mmaped-pages-in-mpage_release_unused_pages touch -d @1473953992 fix-memory-leak-in-ext4_insert_range touch -d @1473954727 remove-unneeded-test-in-ext4_alloc_file_blocks touch -d @1473954901 create-EXT4_MAX_BLOCKS-macro -touch -d @1473954924 series -touch -d @1473954928 status touch -d @1473955049 timestamps +touch -d @1473955127 remove-unused-definition +touch -d @1473955141 series +touch -d @1473955145 status -- 2.11.4.GIT