git: 86cda797bd85 - main - diskinfo: Remove useless return at the end of void function
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 02 Mar 2023 15:12:42 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=86cda797bd85531abdbf928030a580f683587c6b
commit 86cda797bd85531abdbf928030a580f683587c6b
Author: Elyes Haouas <ehaouas@noos.fr>
AuthorDate: 2023-03-02 14:59:06 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-03-02 14:59:12 +0000
diskinfo: Remove useless return at the end of void function
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/656
---
usr.sbin/diskinfo/diskinfo.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/usr.sbin/diskinfo/diskinfo.c b/usr.sbin/diskinfo/diskinfo.c
index fa95a3b92148..d40f49ab96fa 100644
--- a/usr.sbin/diskinfo/diskinfo.c
+++ b/usr.sbin/diskinfo/diskinfo.c
@@ -527,7 +527,6 @@ speeddisk(int fd, off_t mediasize, u_int sectorsize)
TR(bulk * 1024);
printf("\n");
- return;
}
static void
@@ -559,7 +558,6 @@ commandtime(int fd, off_t mediasize, u_int sectorsize)
(dtsector - dtmega)*100/2048);
printf("\n");
- return;
}
static void
@@ -621,8 +619,6 @@ iops(int fd, off_t mediasize, u_int sectorsize)
}
TI(completed);
-
- return;
}
static void