Module Name: src
Committed By: mrg
Date: Tue Apr 13 04:13:52 UTC 2021
Modified Files:
src/sys/dev/ic: bwfm.c
Log Message:
remove extra line that clearly isn't meant to be there and may trigger
uninitialised reads of variables.
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/dev/ic/bwfm.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/ic/bwfm.c
diff -u src/sys/dev/ic/bwfm.c:1.29 src/sys/dev/ic/bwfm.c:1.30
--- src/sys/dev/ic/bwfm.c:1.29 Wed Jul 22 17:23:52 2020
+++ src/sys/dev/ic/bwfm.c Tue Apr 13 04:13:52 2021
@@ -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;