Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1367168 > unrolled thread

[PATCH 2/3] jfs: Remove unnecessary line continuations and terminating newlines

Started byJoe Perches <joe@perches.com>
First post2016-03-30 14:30 +0200
Last post2016-03-30 14:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 2/3] jfs: Remove unnecessary line continuations and terminating newlines Joe Perches <joe@perches.com> - 2016-03-30 14:30 +0200

#1367168 — [PATCH 2/3] jfs: Remove unnecessary line continuations and terminating newlines

FromJoe Perches <joe@perches.com>
Date2016-03-30 14:30 +0200
Subject[PATCH 2/3] jfs: Remove unnecessary line continuations and terminating newlines
Message-ID<rinq3-5iE-21@gated-at.bofh.it>
These jfs_<level> uses need neither a line continuation to assemble
the format strings nor newline terminations in the formats.

Signed-off-by: Joe Perches <joe@perches.com>
---
 fs/jfs/jfs_discard.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/fs/jfs/jfs_discard.c b/fs/jfs/jfs_discard.c
index dfcd503..f76ff0a 100644
--- a/fs/jfs/jfs_discard.c
+++ b/fs/jfs/jfs_discard.c
@@ -49,14 +49,12 @@ void jfs_issue_discard(struct inode *ip, u64 blkno, u64 nblocks)
 
 	r = sb_issue_discard(sb, blkno, nblocks, GFP_NOFS, 0);
 	if (unlikely(r != 0)) {
-		jfs_err("JFS: sb_issue_discard" \
-			"(%p, %llu, %llu, GFP_NOFS, 0) = %d => failed!\n",
+		jfs_err("JFS: sb_issue_discard(%p, %llu, %llu, GFP_NOFS, 0) = %d => failed!",
 			sb, (unsigned long long)blkno,
 			(unsigned long long)nblocks, r);
 	}
 
-	jfs_info("JFS: sb_issue_discard" \
-		"(%p, %llu, %llu, GFP_NOFS, 0) = %d\n",
+	jfs_info("JFS: sb_issue_discard(%p, %llu, %llu, GFP_NOFS, 0) = %d",
 		sb, (unsigned long long)blkno,
 		(unsigned long long)nblocks, r);
 
-- 
2.8.0.rc4.16.g56331f8

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web