summaryrefslogtreecommitdiffstats
path: root/sound/pci/ctxfi/ctatc.c
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2014-09-29 11:03:22 +0200
committerTakashi Iwai <tiwai@suse.de>2014-09-30 10:35:21 +0200
commitb6bfe86fd22a7e21c50f5b36c894f721614bafa5 (patch)
treefd22d6f0c6c7600c82114e3251edd0586776254d /sound/pci/ctxfi/ctatc.c
parentALSA: ctxfi: changed void * to struct hw * (diff)
downloadlinux-b6bfe86fd22a7e21c50f5b36c894f721614bafa5.tar.xz
linux-b6bfe86fd22a7e21c50f5b36c894f721614bafa5.zip
ALSA: ctxfi: removed typecast to (struct hw *)
the previous patch of the series has converted the void * to struct hw * . Now this patch removes the typecasting to (struct hw *) which is not needed any more. Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ctxfi/ctatc.c')
-rw-r--r--sound/pci/ctxfi/ctatc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/ctxfi/ctatc.c b/sound/pci/ctxfi/ctatc.c
index 04e54ccf5120..e536ab97ddeb 100644
--- a/sound/pci/ctxfi/ctatc.c
+++ b/sound/pci/ctxfi/ctatc.c
@@ -1235,7 +1235,7 @@ static int ct_atc_destroy(struct ct_atc *atc)
}
if (atc->hw)
- destroy_hw_obj((struct hw *)atc->hw);
+ destroy_hw_obj(atc->hw);
/* Destroy device virtual memory manager object */
if (atc->vm) {