OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2d34df
)
staging: wlan-ng: remove unused variable in prism2fw.c
author
Tim Collier
<osdevtc@gmail.com>
Mon, 19 Nov 2018 08:41:31 +0000
(08:41 +0000)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 20 Nov 2018 09:59:30 +0000
(10:59 +0100)
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>
drivers/staging/wlan-ng/prism2fw.c
patch
|
blob
|
history
diff --git
a/drivers/staging/wlan-ng/prism2fw.c
b/drivers/staging/wlan-ng/prism2fw.c
index
a2c851c
..
bb572b7
100644
(file)
--- 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;