From 6b362760a425eb56072e9e5baaf6fa00e959a89b Mon Sep 17 00:00:00 2001 From: andvar Date: Fri, 16 Jul 2021 12:09:36 +0000 Subject: [PATCH] Remove commented code, including empty if block. Replace tab with whitespace in usage declaration. --- sbin/mount_chfs/mount_chfs.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/sbin/mount_chfs/mount_chfs.c b/sbin/mount_chfs/mount_chfs.c index 64b156497ad2..2c78bf27fac2 100644 --- a/sbin/mount_chfs/mount_chfs.c +++ b/sbin/mount_chfs/mount_chfs.c @@ -1,4 +1,4 @@ -/* $NetBSD: mount_chfs.c,v 1.4 2021/06/07 21:44:35 dholland Exp $ */ +/* $NetBSD: mount_chfs.c,v 1.5 2021/07/16 12:09:36 andvar Exp $ */ /*- * Copyright (c) 2010 Department of Software Engineering, @@ -61,7 +61,7 @@ static const struct mntopt mopts[] = { /* --------------------------------------------------------------------- */ -static void usage(void) __dead; +static void usage(void) __dead; /* --------------------------------------------------------------------- */ @@ -98,7 +98,6 @@ mount_chfs_parseargs(int argc, char *argv[], struct ufs_args *args, if (argc != 2) usage(); - //strlcpy(canon_dev, argv[0], MAXPATHLEN); pathadj(argv[0], canon_dev); pathadj(argv[1], canon_dir); @@ -137,11 +136,6 @@ mount_chfs(int argc, char *argv[]) err(EXIT_FAILURE, "chfs on %s", fs_name); } - if (mntflags & MNT_GETARGS) { - - //(void)printf("flash index=%d\n", args.fl_index); - } - return EXIT_SUCCESS; }