net/caif/cfrfml.c: use asm/unaligned.h
[linux-2.6.git] / net / caif / cfveil.c
index 637cb0e..77cc09f 100644 (file)
@@ -84,11 +84,6 @@ static int cfvei_transmit(struct cflayer *layr, struct cfpkt *pkt)
                return ret;
        caif_assert(layr->dn != NULL);
        caif_assert(layr->dn->transmit != NULL);
-       if (cfpkt_getlen(pkt) > CAIF_MAX_PAYLOAD_SIZE) {
-               pr_warning("CAIF: %s(): Packet too large - size=%d\n",
-                          __func__, cfpkt_getlen(pkt));
-               return -EOVERFLOW;
-       }
 
        if (cfpkt_add_head(pkt, &tmp, 1) < 0) {
                pr_err("CAIF: %s(): Packet is erroneous!\n", __func__);