Re: [PATCH 2/4] ALSA: ac97: Use the standard snd_ctl_add_followers() helper

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 20 Jul 2023 12:35:22 +0200,
Oswald Buddenhagen wrote:
> 
> On Thu, Jul 20, 2023 at 10:25:52AM +0200, Takashi Iwai wrote:
> > +	err = snd_ctl_add_followers(ac97->bus->card, kctl, followers);
> > +	if (err < 0)
> > +		return err;
> > 
> > 	return 0;
> > 
> this seems a bit pointless - you could just
>   return snd_ctl_add_followers(...
> directly.

Right, this can be simplified.  Will fold into the v2 patch.


thanks,

Takashi



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux