Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/marvell mvxpsec(4): Fix missing change to freesessio...



details:   https://anonhg.NetBSD.org/src/rev/384a01cf070a
branches:  trunk
changeset: 366607:384a01cf070a
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Jun 01 15:40:15 2022 +0000

description:
mvxpsec(4): Fix missing change to freesession return type.

Not sure how this didn't get committed before -- it was supposed to be
part of this change:

https://mail-index.netbsd.org/source-changes/2022/05/22/msg138764.html

diffstat:

 sys/dev/marvell/mvxpsec.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r 3276b41a16de -r 384a01cf070a sys/dev/marvell/mvxpsec.c
--- a/sys/dev/marvell/mvxpsec.c Wed Jun 01 08:42:38 2022 +0000
+++ b/sys/dev/marvell/mvxpsec.c Wed Jun 01 15:40:15 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mvxpsec.c,v 1.15 2022/05/22 11:38:51 riastradh Exp $   */
+/*     $NetBSD: mvxpsec.c,v 1.16 2022/06/01 15:40:15 riastradh Exp $   */
 /*
  * Copyright (c) 2015 Internet Initiative Japan Inc.
  * All rights reserved.
@@ -2020,7 +2020,7 @@
 /*
  * remove opencrypto session
  */
-int
+void
 mvxpsec_freesession(void *arg, uint64_t tid)
 {
        struct mvxpsec_softc *sc = arg;
@@ -2056,8 +2056,6 @@
        crypto_unblock(sc->sc_cid, CRYPTO_SYMQ|CRYPTO_ASYMQ);
 
        MVXPSEC_EVCNT_INCR(sc, session_free);
-
-       return 0;
 }
 
 /*



Home | Main Index | Thread Index | Old Index