Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/btattach remove currently-unused variables that tri...



details:   https://anonhg.NetBSD.org/src/rev/c20fe43cf124
branches:  trunk
changeset: 355706:c20fe43cf124
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Thu Aug 10 18:45:20 2017 +0000

description:
remove currently-unused variables that trip up the build

diffstat:

 usr.sbin/btattach/init_bcm43xx.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 314f07348222 -r c20fe43cf124 usr.sbin/btattach/init_bcm43xx.c
--- a/usr.sbin/btattach/init_bcm43xx.c  Thu Aug 10 18:11:47 2017 +0000
+++ b/usr.sbin/btattach/init_bcm43xx.c  Thu Aug 10 18:45:20 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: init_bcm43xx.c,v 1.1 2017/08/10 13:34:29 nat Exp $     */
+/*     $NetBSD: init_bcm43xx.c,v 1.2 2017/08/10 18:45:20 jakllsch Exp $        */
 
 /*-
  * Copyright (c) 2017 Iain Hibbert
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: init_bcm43xx.c,v 1.1 2017/08/10 13:34:29 nat Exp $");
+__RCSID("$NetBSD: init_bcm43xx.c,v 1.2 2017/08/10 18:45:20 jakllsch Exp $");
 
 #include <bluetooth.h>
 #include <err.h>
@@ -62,9 +62,8 @@
        uint8_t rate[6];
        uint8_t fw_buf[1024];
        char fw[] = "./BCM43430A1.hcd";
-       int nr, fwfd, fw_len;
+       int fwfd, fw_len;
        uint8_t resp[7];
-       uint8_t name[20];
        uint16_t fw_cmd;
 
        memset(rate, 0, sizeof(rate));



Home | Main Index | Thread Index | Old Index