summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.com>2018-06-05 13:39:12 +0200
committerPetr Mladek <pmladek@suse.com>2018-06-05 13:39:12 +0200
commit8bafa2a44ff3647904eaa3c9228bfbd36742b9b4 (patch)
treec0bc2ef9e965e50e57aaa22293084ee308b41d3f /lib
parentMerge branch 'for-4.18-vsprintf-cleanup' into for-4.18 (diff)
parentlib/vsprintf: Remove atomic-unsafe support for %pCr (diff)
downloadlinux-8bafa2a44ff3647904eaa3c9228bfbd36742b9b4.tar.xz
linux-8bafa2a44ff3647904eaa3c9228bfbd36742b9b4.zip
Merge branch 'for-4.18-vsprintf-pcr-removal' into for-4.18
Diffstat (limited to 'lib')
-rw-r--r--lib/vsprintf.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/vsprintf.c b/lib/vsprintf.c
index 7649ef4ed7d0..8999202ad43b 100644
--- a/lib/vsprintf.c
+++ b/lib/vsprintf.c
@@ -1459,9 +1459,6 @@ char *clock(char *buf, char *end, struct clk *clk, struct printf_spec spec,
return string(buf, end, NULL, spec);
switch (fmt[1]) {
- case 'r':
- return number(buf, end, clk_get_rate(clk), spec);
-
case 'n':
default:
#ifdef CONFIG_COMMON_CLK