net: caif: remove redundant assignment to variable expectlen
[linux-2.6-microblaze.git] / net / caif / cfserl.c
index 40cd57a..aee11c7 100644 (file)
@@ -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;
                        }