]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/src/read.c
LinCAN sources go through big white-space cleanup.
[lincan.git] / lincan / src / read.c
index 8f7ee7974014fc12fe5e0fed9b63692b36506f22..500c9b30d930e341ed3056474cbf94a9ce5d8dfe 100644 (file)
@@ -78,13 +78,13 @@ ssize_t can_read(struct file *file, char *buffer, size_t length, loff_t *offset)
                        return -EIO;
                }
        }
-       
+
        ret = copy_to_user(buffer, &slot->msg, sizeof(struct canmsg_t));
        canque_free_outslot(qends, qedge, slot);
        buffer += sizeof(struct canmsg_t);
        bytes_to_copy = length-sizeof(struct canmsg_t);
        if(ret) return -EFAULT;
-       
+
        while (bytes_to_copy > 0) {
                ret=canque_test_outslot(qends, &qedge, &slot);
                if(ret<0)