* Rewritten for new CAN queues by Pavel Pisa - OCERA team member
* email:pisa@cmp.felk.cvut.cz
* This software is released under the GPL-License.
- * Version lincan-0.2 9 Jul 2003
+ * Version lincan-0.3 17 Jun 2004
*/
#include "../include/can.h"
int can_fasync(int fd, struct file *file, int on)
{
+ int retval;
+
struct canuser_t *canuser = (struct canuser_t*)(file->private_data);
struct canque_ends_t *qends;
qends = canuser->qends;
- int retval = fasync_helper(fd, file, on, &qends->endinfo.fileinfo.fasync);
+ retval = fasync_helper(fd, file, on, &qends->endinfo.fileinfo.fasync);
if (retval < 0)
return retval;