]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/src/close.c
LinCAN sources go through big white-space cleanup.
[lincan.git] / lincan / src / close.c
index a69247c6bc14cca1e234c68c0d6cf89601002aa7..2e0090d83aae8143ef5cd99e5e13b02482112d9f 100644 (file)
@@ -48,15 +48,15 @@ int can_close(struct inode *inode, struct file *file)
        struct canque_ends_t *qends;
        struct msgobj_t *obj;
        can_spin_irqflags_t iflags;
-       
+
        if(!canuser || (canuser->magic != CAN_USER_MAGIC)){
                CANMSG("can_close: bad canuser magic\n");
                return -ENODEV;
        }
-       
+
        obj = canuser->msgobj;
        qends = canuser->qends;
-       
+
     #ifdef CAN_ENABLE_KERN_FASYNC
 
        can_fasync(-1, file, 0);
@@ -76,7 +76,7 @@ int can_close(struct inode *inode, struct file *file)
                can_msgobj_clear_fl(obj,OPENED);
        };
        can_spin_unlock_irqrestore(&canuser_manipulation_lock, iflags);
-       
+
     #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,50))
        MOD_DEC_USE_COUNT;
     #endif