]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/src/ioctl_rtl.c
LinCAN sources go through big white-space cleanup.
[lincan.git] / lincan / src / ioctl_rtl.c
index 18cbe1b161dbec769491f0df8199f8fdcb8f0033..d8118668da6af18252e35f0fa5ab4252a166a96b 100644 (file)
@@ -53,12 +53,12 @@ int can_ioctl_rtl_posix(struct rtl_file *fptr, unsigned int cmd, unsigned long a
        struct msgobj_t *obj;
        struct canchip_t *chip;
        struct canque_ends_t *qends;
-       
+
        if(!canuser || (canuser->magic != CAN_USER_MAGIC)){
                CANMSG("can_ioctl_: bad canuser magic\n");
                return -ENODEV;
        }
-       
+
        obj = canuser->msgobj;
        if (obj == NULL) {
                CANMSG("Could not assign buffer structure\n");
@@ -103,7 +103,7 @@ int can_ioctl_rtl_posix(struct rtl_file *fptr, unsigned int cmd, unsigned long a
 
                        break;
                }
-               
+
                case CANQUE_FILTER: {
                        struct canfilt_t canfilt=*(struct canfilt_t *)arg;
                        if(canuser->rx_edge0){
@@ -127,7 +127,7 @@ int can_ioctl_rtl_posix(struct rtl_file *fptr, unsigned int cmd, unsigned long a
                        CANMSG("Not a valid ioctl command\n");
                        return -EINVAL;
                }
-               
+
        }
 
        return 0;