aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2023-03-02 14:59:07 +0000
committerWarner Losh <imp@FreeBSD.org>2023-03-02 15:01:28 +0000
commit1def31df760df6bfcc806c793a1c0799d4d43245 (patch)
treef31758fedd8e322f3d311ea28853fea81e16159d
parenta5aa07dd855e55cd2800dd9ff7c3bddce2502b39 (diff)
downloadsrc-1def31df760df6bfcc806c793a1c0799d4d43245.tar.gz
src-1def31df760df6bfcc806c793a1c0799d4d43245.zip
lpr: 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
-rw-r--r--usr.sbin/lpr/common_source/common.c2
-rw-r--r--usr.sbin/lpr/lpc/cmds.c4
2 files changed, 0 insertions, 6 deletions
diff --git a/usr.sbin/lpr/common_source/common.c b/usr.sbin/lpr/common_source/common.c
index b20855515adb..21735fe4dfc9 100644
--- a/usr.sbin/lpr/common_source/common.c
+++ b/usr.sbin/lpr/common_source/common.c
@@ -554,8 +554,6 @@ trstat_init(struct printer *pp, const char *fname, int filenum)
* save those away along with the file-number */
pp->jobdfnum = filenum;
lpd_gettime(&pp->tr_start, pp->tr_timestr, (size_t)TIMESTR_SIZE);
-
- return;
}
void
diff --git a/usr.sbin/lpr/lpc/cmds.c b/usr.sbin/lpr/lpc/cmds.c
index c0debb1fcbcd..ad147a18a8c7 100644
--- a/usr.sbin/lpr/lpc/cmds.c
+++ b/usr.sbin/lpr/lpc/cmds.c
@@ -644,8 +644,6 @@ clean_gi(int argc, char *argv[])
generic_initerr = 1;
}
}
-
- return;
}
void
@@ -656,8 +654,6 @@ tclean_gi(int argc, char *argv[])
/* (...and the fact that 'clean' is priv and 'tclean' is not) */
clean_gi(argc, argv);
cln_testonly = 1;
-
- return;
}
void