aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ctxfi
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2014-10-21 06:58:47 -0400
committerTakashi Iwai <tiwai@suse.de>2014-10-21 10:06:13 -0400
commitcf6814f2b5014ed5bbdef764a42e4abaa09b3a2e (patch)
tree1be3fb31b99c5ed53026afc79b7d441b8f45054a /sound/pci/ctxfi
parent8e648204194cb51df8562d1e2a64b7dc6b0aead3 (diff)
ALSA: ctxfi: remove unused variable
As of now the pointer to struct dai is not being used anywhere in the function. So it is safe to remove the variable. If we are ever doing anything with the container_of(daio, struct dai, daio), then at that time we can again add the variable. Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ctxfi')
-rw-r--r--sound/pci/ctxfi/ctatc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sound/pci/ctxfi/ctatc.c b/sound/pci/ctxfi/ctatc.c
index 454659074390..632e843fa95e 100644
--- a/sound/pci/ctxfi/ctatc.c
+++ b/sound/pci/ctxfi/ctatc.c
@@ -1145,7 +1145,6 @@ static int atc_release_resources(struct ct_atc *atc)
1145 int i; 1145 int i;
1146 struct daio_mgr *daio_mgr = NULL; 1146 struct daio_mgr *daio_mgr = NULL;
1147 struct dao *dao = NULL; 1147 struct dao *dao = NULL;
1148 struct dai *dai = NULL;
1149 struct daio *daio = NULL; 1148 struct daio *daio = NULL;
1150 struct sum_mgr *sum_mgr = NULL; 1149 struct sum_mgr *sum_mgr = NULL;
1151 struct src_mgr *src_mgr = NULL; 1150 struct src_mgr *src_mgr = NULL;
@@ -1172,9 +1171,6 @@ static int atc_release_resources(struct ct_atc *atc)
1172 dao = container_of(daio, struct dao, daio); 1171 dao = container_of(daio, struct dao, daio);
1173 dao->ops->clear_left_input(dao); 1172 dao->ops->clear_left_input(dao);
1174 dao->ops->clear_right_input(dao); 1173 dao->ops->clear_right_input(dao);
1175 } else {
1176 dai = container_of(daio, struct dai, daio);
1177 /* some thing to do for dai ... */
1178 } 1174 }
1179 daio_mgr->put_daio(daio_mgr, daio); 1175 daio_mgr->put_daio(daio_mgr, daio);
1180 } 1176 }