Module Name:    src
Committed By:   jakllsch
Date:           Thu Aug 10 18:45:20 UTC 2017

Modified Files:
        src/usr.sbin/btattach: init_bcm43xx.c

Log Message:
remove currently-unused variables that trip up the build


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/btattach/init_bcm43xx.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/btattach/init_bcm43xx.c
diff -u src/usr.sbin/btattach/init_bcm43xx.c:1.1 src/usr.sbin/btattach/init_bcm43xx.c:1.2
--- src/usr.sbin/btattach/init_bcm43xx.c:1.1	Thu Aug 10 13:34:29 2017
+++ src/usr.sbin/btattach/init_bcm43xx.c	Thu Aug 10 18:45:20 2017
@@ -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 @@ init_bcm43xx(int fd, unsigned int speed)
 	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));

Reply via email to