Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ata Remove unused 'params' argument of local functio...



details:   https://anonhg.NetBSD.org/src/rev/3f3f66bf935d
branches:  trunk
changeset: 346615:3f3f66bf935d
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Thu Jul 21 18:54:13 2016 +0000

description:
Remove unused 'params' argument of local function wd_params_to_properties()

diffstat:

 sys/dev/ata/wd.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r f665262ab612 -r 3f3f66bf935d sys/dev/ata/wd.c
--- a/sys/dev/ata/wd.c  Thu Jul 21 18:50:21 2016 +0000
+++ b/sys/dev/ata/wd.c  Thu Jul 21 18:54:13 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wd.c,v 1.421 2016/06/19 09:35:06 bouyer Exp $ */
+/*     $NetBSD: wd.c,v 1.422 2016/07/21 18:54:13 jakllsch Exp $ */
 
 /*
  * Copyright (c) 1998, 2001 Manuel Bouyer.  All rights reserved.
@@ -54,7 +54,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wd.c,v 1.421 2016/06/19 09:35:06 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wd.c,v 1.422 2016/07/21 18:54:13 jakllsch Exp $");
 
 #include "opt_ata.h"
 
@@ -1728,7 +1728,7 @@
 #endif
 
 static void
-wd_params_to_properties(struct wd_softc *wd, struct ataparams *params)
+wd_params_to_properties(struct wd_softc *wd)
 {
        struct disk_geom *dg = &wd->sc_dk.dk_geom;
 
@@ -1774,7 +1774,7 @@
                wd->drvp->ata_vers = -1; /* Mark it as pre-ATA */
                /* FALLTHROUGH */
        case CMD_OK:
-               wd_params_to_properties(wd, params);
+               wd_params_to_properties(wd);
                return 0;
        default:
                panic("wd_get_params: bad return code from ata_get_params");



Home | Main Index | Thread Index | Old Index