aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColy Li <colyli@suse.de>2018-07-28 23:28:44 +0800
committerColy Li <colyli@suse.de>2018-07-28 23:28:44 +0800
commit07af5c2aab865ea43eba576a81547bb3b5408954 (patch)
tree74b5375274ead0ea1d0e71f2cff07b7aa6e8e066
parent7caff66cc71684e8fdc2bdec4e62276ce6f20a56 (diff)
downloadbcache-patches-07af5c2aab865ea43eba576a81547bb3b5408954.tar.gz
for-test: remove 0015-bcache-remove-useless-macros-from-util.c.patch
-rw-r--r--for-test/checkpatches_fixes/0015-bcache-remove-useless-macros-from-util.c.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/for-test/checkpatches_fixes/0015-bcache-remove-useless-macros-from-util.c.patch b/for-test/checkpatches_fixes/0015-bcache-remove-useless-macros-from-util.c.patch
deleted file mode 100644
index bf643a9..0000000
--- a/for-test/checkpatches_fixes/0015-bcache-remove-useless-macros-from-util.c.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 44f0657bc07d47dfa4700a9bba3c085ed0859404 Mon Sep 17 00:00:00 2001
-From: Coly Li <colyli@suse.de>
-Date: Sat, 28 Jul 2018 18:30:24 +0800
-Subject: [PATCH 15/18] bcache: remove useless macros from util.c
-
-Macros simple_strtoint() and simple_strtouint() are not referenced in
-bcache code, and they are defined by obsoleted routine simple_strtoul().
-
-This patch removes these two useless macros from bcache.
-
-Signed-off-by: Coly Li <colyli@suse.de>
----
- drivers/md/bcache/util.c | 3 ---
- 1 file changed, 3 deletions(-)
-
-diff --git a/drivers/md/bcache/util.c b/drivers/md/bcache/util.c
-index 5b1b92d605ca..329ba90245ee 100644
---- a/drivers/md/bcache/util.c
-+++ b/drivers/md/bcache/util.c
-@@ -16,9 +16,6 @@
-
- #include "util.h"
-
--#define simple_strtoint(c, end, base) simple_strtol(c, end, base)
--#define simple_strtouint(c, end, base) simple_strtoul(c, end, base)
--
- #define STRTO_H(name, type) \
- int bch_ ## name ## _h(const char *cp, type *res) \
- { \
---
-2.18.0
-