summaryrefslogtreecommitdiff
path: root/src/seq
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2002-06-26 08:53:07 +0000
committerTakashi Iwai <tiwai@suse.de>2002-06-26 08:53:07 +0000
commit03b2599397efa540983039f7189cc8b8c44a869f (patch)
tree5c381bf6bbcf8ffc8731c40446a8aa91d3e12b3c /src/seq
parent16b3bf447c280ae0009e5c07b8ad4474073a9363 (diff)
don't check the error from running-mode ioctl (for backward
compatibility).
Diffstat (limited to 'src/seq')
-rw-r--r--src/seq/seq_hw.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/seq/seq_hw.c b/src/seq/seq_hw.c
index 22296b98..af667032 100644
--- a/src/seq/seq_hw.c
+++ b/src/seq/seq_hw.c
@@ -517,12 +517,7 @@ int snd_seq_hw_open(snd_seq_t **handle, const char *name, int streams, int mode)
run_mode.big_endian = 0;
#endif
run_mode.cpu_mode = sizeof(long);
- if (ioctl(fd, SNDRV_SEQ_IOCTL_RUNNING_MODE, &run_mode) < 0) {
- int err = errno;
- SYSERR("Invalid OS running mode");
- snd_seq_close(seq);
- return -err;
- }
+ ioctl(fd, SNDRV_SEQ_IOCTL_RUNNING_MODE, &run_mode);
}
#endif