summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Collier <osdevtc@gmail.com>2018-11-19 08:41:31 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-11-20 10:59:30 +0100
commit700fe657dd09159710778bec394e5a11ca6c93d9 (patch)
treefdaf5f8c97da6aab9516ef0617b56fbd5d0028bf
parente2d34dfdffcfd1c5a5fe9f1cb697a954f7f4e521 (diff)
staging: wlan-ng: remove unused variable in prism2fw.c
Remove the unused crcend variable from the crcimage function. Signed-off-by: Tim Collier <osdevtc@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/wlan-ng/prism2fw.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/wlan-ng/prism2fw.c b/drivers/staging/wlan-ng/prism2fw.c
index a2c851c74bef..bb572b7fdfee 100644
--- a/drivers/staging/wlan-ng/prism2fw.c
+++ b/drivers/staging/wlan-ng/prism2fw.c
@@ -406,7 +406,6 @@ static int crcimage(struct imgchunk *fchunk, unsigned int nfchunks,
int i;
int c;
u32 crcstart;
- u32 crcend;
u32 cstart = 0;
u32 cend;
u8 *dest;
@@ -416,7 +415,6 @@ static int crcimage(struct imgchunk *fchunk, unsigned int nfchunks,
if (!s3crc[i].dowrite)
continue;
crcstart = s3crc[i].addr;
- crcend = s3crc[i].addr + s3crc[i].len;
/* Find chunk */
for (c = 0; c < nfchunks; c++) {
cstart = fchunk[c].addr;