summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.com>2019-08-15 17:01:33 +0200
committerPetr Mladek <pmladek@suse.com>2019-08-15 17:03:16 +0200
commit8ebea6ea1a7ed5d67ecbb2a493c716a2a89c0be2 (patch)
treecbcd467fb8106ccdad74909da8398e6672315695 /lib
parentcf6b7921fc19e537cd5ae88460195c8599eb5d9d (diff)
lib/test_printf: Remove obvious comments from %pd and %pD tests
Signed-off-by: Petr Mladek <pmladek@suse.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/test_printf.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/test_printf.c b/lib/test_printf.c
index befedffeb476..5d94cbff2120 100644
--- a/lib/test_printf.c
+++ b/lib/test_printf.c
@@ -455,10 +455,8 @@ dentry(void)
test("foo", "%pd", &test_dentry[0]);
test("foo", "%pd2", &test_dentry[0]);
- /* test the null/invalid pointer case for dentry */
test("(null)", "%pd", NULL);
test("(efault)", "%pd", PTR_INVALID);
- /* test the null/invalid pointer case for file */
test("(null)", "%pD", NULL);
test("(efault)", "%pD", PTR_INVALID);