aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristos Margiolis <christos@FreeBSD.org>2024-05-20 14:14:17 +0000
committerChristos Margiolis <christos@FreeBSD.org>2024-05-20 14:14:17 +0000
commit2db2292dac7331be5414f86c3ef7863c7b6a4ac6 (patch)
treeef805e367457e085b2020f275ffcaa347c25a1f8
parent0b39b2e2ddb2df1d1325e042893ddcb1a1c12b8e (diff)
downloadsrc-2db2292dac7331be5414f86c3ef7863c7b6a4ac6.tar.gz
src-2db2292dac7331be5414f86c3ef7863c7b6a4ac6.zip
sound: Get rid of redundant assignments in chn_init()
c is allocated with M_ZERO. Reported by: markj Sponsored by: The FreeBSD Foundation MFC after: 1 day Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D45273
-rw-r--r--sys/dev/sound/pcm/channel.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/sound/pcm/channel.c b/sys/dev/sound/pcm/channel.c
index 846885b9d729..039d9abb9da2 100644
--- a/sys/dev/sound/pcm/channel.c
+++ b/sys/dev/sound/pcm/channel.c
@@ -1261,8 +1261,6 @@ chn_init(struct snddev_info *d, struct pcm_channel *parent, kobj_class_t cls,
bs = NULL;
CHN_INIT(c, children);
CHN_INIT(c, children.busy);
- c->devinfo = NULL;
- c->feeder = NULL;
c->latency = -1;
c->timeout = 1;