remove unused "autostart" feature

This commit is contained in:
Alexandre Ratchov 2014-03-05 21:22:05 +01:00
parent 15739f2718
commit aa1877d6ef
2 changed files with 0 additions and 3 deletions

View File

@ -144,7 +144,6 @@ struct dev {
unsigned int reqrate; /* sample rate */
unsigned int hold; /* hold the device open ? */
unsigned int autovol; /* auto adjust playvol ? */
unsigned int autostart; /* don't wait for MMC start */
unsigned int refcnt; /* number of openers */
#define DEV_NMAX 16 /* max number of devices */
unsigned int num; /* device serial number */

View File

@ -480,8 +480,6 @@ main(int argc, char **argv)
for (d = dev_list; d != NULL; d = d->next) {
if (!dev_init(d))
return 1;
if (d->autostart && (d->mode & MODE_AUDIOMASK))
dev_mmcstart(d);
}
for (l = listen_list; l != NULL; l = l->next) {
if (!listen_init(l))