linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] btrfs: Remove unneeded semicolon
@ 2019-12-19  9:25 zhengbin
  2020-01-02 13:18 ` David Sterba
  0 siblings, 1 reply; 2+ messages in thread
From: zhengbin @ 2019-12-19  9:25 UTC (permalink / raw)
  To: clm, josef, dsterba, linux-btrfs; +Cc: zhengbin13

Fixes coccicheck warning:

fs/btrfs/print-tree.c:320:3-4: Unneeded semicolon

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
---
 fs/btrfs/print-tree.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/btrfs/print-tree.c b/fs/btrfs/print-tree.c
index 873b6b6..61f44e7 100644
--- a/fs/btrfs/print-tree.c
+++ b/fs/btrfs/print-tree.c
@@ -317,7 +317,7 @@ void btrfs_print_leaf(struct extent_buffer *l)
 			print_uuid_item(l, btrfs_item_ptr_offset(l, i),
 					btrfs_item_size_nr(l, i));
 			break;
-		};
+		}
 	}
 }

--
2.7.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] btrfs: Remove unneeded semicolon
  2019-12-19  9:25 [PATCH] btrfs: Remove unneeded semicolon zhengbin
@ 2020-01-02 13:18 ` David Sterba
  0 siblings, 0 replies; 2+ messages in thread
From: David Sterba @ 2020-01-02 13:18 UTC (permalink / raw)
  To: zhengbin; +Cc: clm, josef, dsterba, linux-btrfs

On Thu, Dec 19, 2019 at 05:25:34PM +0800, zhengbin wrote:
> Fixes coccicheck warning:
> 
> fs/btrfs/print-tree.c:320:3-4: Unneeded semicolon
> 
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: zhengbin <zhengbin13@huawei.com>

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-01-02 13:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-19  9:25 [PATCH] btrfs: Remove unneeded semicolon zhengbin
2020-01-02 13:18 ` David Sterba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).