Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic remove extra line that clearly isn't meant to be ...
details: https://anonhg.NetBSD.org/src/rev/bc58cc05d31c
branches: trunk
changeset: 378435:bc58cc05d31c
user: mrg <mrg%NetBSD.org@localhost>
date: Tue Apr 13 04:13:52 2021 +0000
description:
remove extra line that clearly isn't meant to be there and may trigger
uninitialised reads of variables.
diffstat:
sys/dev/ic/bwfm.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diffs (17 lines):
diff -r 5d3e0653b93e -r bc58cc05d31c sys/dev/ic/bwfm.c
--- a/sys/dev/ic/bwfm.c Tue Apr 13 03:27:13 2021 +0000
+++ b/sys/dev/ic/bwfm.c Tue Apr 13 04:13:52 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bwfm.c,v 1.29 2020/07/22 17:23:52 riastradh Exp $ */
+/* $NetBSD: bwfm.c,v 1.30 2021/04/13 04:13:52 mrg Exp $ */
/* $OpenBSD: bwfm.c,v 1.5 2017/10/16 22:27:16 patrick Exp $ */
/*
* Copyright (c) 2010-2016 Broadcom Corporation
@@ -166,7 +166,6 @@ bwfm_firmware_read_file(struct bwfm_soft
names[1] = kmem_asprintf("%s.%s", fwp->fwsel_basename,
bwfm_firmware_filetypes[which].suffix);
- if (ctx->ctx_model)
names[0] = ctx->ctx_model ? kmem_asprintf("%s.%s.%s",
fwp->fwsel_basename, ctx->ctx_model,
bwfm_firmware_filetypes[which].suffix) : NULL;
Home |
Main Index |
Thread Index |
Old Index