Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dc041e0b authored by Robert P. J. Day's avatar Robert P. J. Day Committed by Jaroslav Kysela
Browse files

[ALSA] sound: Change final two instances of kcalloc(1,...) to kzalloc()



  Change the two remaining instances in the tree of kcalloc(1,...) to
the corresponding kzalloc() call.

Signed-off-by: default avatarRobert P. J. Day <rpjday@mindspring.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarJaroslav Kysela <perex@suse.cz>
parent e4c3bf0f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -6590,7 +6590,7 @@ static int patch_alc262(struct hda_codec *codec)
	int board_config;
	int err;

	spec = kcalloc(1, sizeof(*spec), GFP_KERNEL);
	spec = kzalloc(sizeof(*spec), GFP_KERNEL);
	if (spec == NULL)
		return -ENOMEM;

@@ -7710,7 +7710,7 @@ static int patch_alc861(struct hda_codec *codec)
	int board_config;
	int err;

	spec = kcalloc(1, sizeof(*spec), GFP_KERNEL);
	spec = kzalloc(sizeof(*spec), GFP_KERNEL);
	if (spec == NULL)
		return -ENOMEM;