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/734ce255df9e
branches:  trunk
changeset: 826007:734ce255df9e
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 1c335c1d24a9 -r 734ce255df9e 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