Don't need fcntl(,F_SETSIG,)
authorDavid Schleef <ds@schleef.org>
Wed, 27 Jun 2001 22:12:32 +0000 (22:12 +0000)
committerDavid Schleef <ds@schleef.org>
Wed, 27 Jun 2001 22:12:32 +0000 (22:12 +0000)
demo/ledclock.c

index 673f0c4aedaf36a65d0b06ed3a4cd2b684908100..78c2a3b62fa2096aaadaf2672d49206bd0729997 100644 (file)
@@ -129,9 +129,6 @@ int main(int argc, char *argv[])
        ret = fcntl(comedi_fileno(device),F_SETFL,O_NONBLOCK|O_ASYNC);
        if(ret<0)perror("fcntl");
 
-       ret = fcntl(comedi_fileno(device),F_SETSIG,SIGIO);
-       if(ret<0)perror("fcntl");
-
 #if 0
        {
        struct sched_param p;