All of lore.kernel.org
 help / color / mirror / Atom feed
From: cgel.zte@gmail.com
To: anton@tuxera.com
Cc: linux-ntfs-dev@lists.sourceforge.net,
	linux-kernel@vger.kernel.org,
	Zhang Mingyu <zhang.mingyu@zte.com.cn>,
	Zeal Robot <zealci@zte.com.cn>
Subject: [PATCH] ntfs:Remove unneeded semicolon
Date: Fri,  5 Nov 2021 01:39:54 +0000	[thread overview]
Message-ID: <20211105013954.75112-1-zhang.mingyu@zte.com.cn> (raw)

From: Zhang Mingyu <zhang.mingyu@zte.com.cn>

Eliminate the following coccinelle check warning:
fs/ntfs/super.c:1615:2-3
fs/ntfs/super.c:1684:2-3

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Zhang Mingyu <zhang.mingyu@zte.com.cn>
---
 fs/ntfs/super.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/ntfs/super.c b/fs/ntfs/super.c
index 5ae8de09b271..500e6bd7c827 100644
--- a/fs/ntfs/super.c
+++ b/fs/ntfs/super.c
@@ -1612,7 +1612,7 @@ static bool load_and_init_attrdef(ntfs_volume *vol)
 		memcpy((u8*)vol->attrdef + (index++ << PAGE_SHIFT),
 				page_address(page), size);
 		ntfs_unmap_page(page);
-	};
+	}
 	if (size == PAGE_SIZE) {
 		size = i_size & ~PAGE_MASK;
 		if (size)
@@ -1681,7 +1681,7 @@ static bool load_and_init_upcase(ntfs_volume *vol)
 		memcpy((char*)vol->upcase + (index++ << PAGE_SHIFT),
 				page_address(page), size);
 		ntfs_unmap_page(page);
-	};
+	}
 	if (size == PAGE_SIZE) {
 		size = i_size & ~PAGE_MASK;
 		if (size)
-- 
2.25.1


             reply	other threads:[~2021-11-05  1:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-05  1:39 cgel.zte [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-11-05 15:31 [PATCH] ntfs: Remove unneeded semicolon Shaomin Deng
2023-05-06  1:06 ` Namjae Jeon
2023-05-19 10:01 ` Christian Brauner
2021-11-03  6:47 [PATCH] NTFS:Remove " cgel.zte
2021-11-03  2:09 [PATCH] ntfs: Remove " cgel.zte
2021-02-03  1:46 [PATCH] ntfs: remove " Yang Li

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211105013954.75112-1-zhang.mingyu@zte.com.cn \
    --to=cgel.zte@gmail.com \
    --cc=anton@tuxera.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-ntfs-dev@lists.sourceforge.net \
    --cc=zealci@zte.com.cn \
    --cc=zhang.mingyu@zte.com.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.