md/raid1: Fix trailing semicolon
PATCH 1/1 md/raid1: Fix trailing semicolon
The trailing semicolon is an empty statement that does no operation. Removing it since it doesn't do anything.
---
Hi,
After fixing the same thing in drivers/staging/rtl8723bs/, Joe Perches suggested I fix it treewide [0].
Best regards,
Luis
[0] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-January/115410.html
[1] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-January/115390.html
drivers/md/raid1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/md/raid1.c +1 -1
@@ -1108,7 +1108,7 @@ static void alloc_behind_master_bio(struct r1bio *r1_bio,bio_copy_data (behind_bio, bio); skip_copy: - r1_bio->behind_master_bio = behind_bio;; + r1_bio->behind_master_bio = behind_bio;set_bit (R1BIO_BehindIO, &r1_bio->state);return ;
Signature · 1 line
2.15.1
Shaohua Li
AppliedQuoted 10 lines · Luis de Bethencourt
The trailing semicolon is an empty statement that does no operation. Removing it since it doesn't do anything.
Signed-off-by Luis de Bethencourt <[email protected]>---
Hi,
After fixing the same thing in
drivers/staging/rtl8723bs/, Joe Perches suggested I fix it treewide [0].
applied, thanks!
Quoted 27 lines
Best regards,
Luis[0] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-January/115410.html
[1] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-January/115390.htmldrivers/md/raid1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/md/raid1.c +1
-1@@ -1108,7 +1108,7 @@ static void alloc_behind_master_bio(struct r1bio *r1_bio,bio_copy_data (behind_bio, bio); skip_copy: - r1_bio->behind_master_bio = behind_bio;; + r1_bio->behind_master_bio = behind_bio;set_bit (R1BIO_BehindIO, &r1_bio->state);return ;Signature · 1 line
2.15.1