[alsa-devel] [PATCH] sscape: remove MIDI instances counting with limit ULONG_MAX

Takashi Iwai tiwai at suse.de
Fri Oct 2 07:45:32 CEST 2009


At Thu, 1 Oct 2009 20:07:14 +0200,
Krzysztof Helt wrote:
> 
> From: Krzysztof Helt <krzysztof.h1 at wp.pl>
> 
> There is no sense to limit open MIDI connections with limit
> as high as ULONG_MAX.

It's just to make sure that midi_usage doesn't reach to zero.
But midi_usage itself is useless.  Remove it as well.

> Also, remove redundant "sscape:" prefix in messages printed
> by snd_printk and convert more messages to use the snd_printk.

The prefix is needed if built without CONFIG_SND_VERBOSE_PRINTK.
So better to keep it.


thanks,

Takashi


More information about the Alsa-devel mailing list