summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2016-09-04 16:52:44 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2016-09-04 16:52:44 +0000
commit8934c06a6279ef26b8446849b797b45c91972fc6 (patch)
treed6b969db2f10f4ef2a015abc8161f859438f59c7
parent4ff8edcae7004ad871cbd2bb4f29b730932bce3b (diff)
Remove unused IWM_READ_NVM_CHUNK_... macros.
-rw-r--r--sys/dev/pci/if_iwm.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/pci/if_iwm.c b/sys/dev/pci/if_iwm.c
index c0c2c08a859..7a152ad2a1f 100644
--- a/sys/dev/pci/if_iwm.c
+++ b/sys/dev/pci/if_iwm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_iwm.c,v 1.122 2016/09/04 16:46:54 stsp Exp $ */
+/* $OpenBSD: if_iwm.c,v 1.123 2016/09/04 16:52:43 stsp Exp $ */
/*
* Copyright (c) 2014, 2016 genua gmbh <info@genua.de>
@@ -2187,10 +2187,6 @@ const int nvm_to_read[] = {
#define IWM_NVM_WRITE_OPCODE 1
#define IWM_NVM_READ_OPCODE 0
-/* load nvm chunk response */
-#define IWM_READ_NVM_CHUNK_SUCCEED 0
-#define IWM_READ_NVM_CHUNK_INVALID_ADDRESS 1
-
int
iwm_nvm_read_chunk(struct iwm_softc *sc, uint16_t section,
uint16_t offset, uint16_t length, uint8_t *data, uint16_t *len)