projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: caif: remove redundant assignment to variable expectlen
[linux-2.6-microblaze.git]
/
net
/
caif
/
cfserl.c
diff --git
a/net/caif/cfserl.c
b/net/caif/cfserl.c
index
40cd57a
..
aee11c7
100644
(file)
--- a/
net/caif/cfserl.c
+++ b/
net/caif/cfserl.c
@@
-128,7
+128,6
@@
static int cfserl_receive(struct cflayer *l, struct cfpkt *newpkt)
if (pkt != NULL)
cfpkt_destroy(pkt);
layr->incomplete_frm = NULL;
- expectlen = 0;
spin_unlock(&layr->sync);
return -EPROTO;
}