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, 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.

(more instances may be affected, but i don't see it due to little diff context.)

}

regards



[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