Skip to contentSkip to conversation

trident_main.c - vfree() checking

PATCH RESEND Applied [email protected] 1 participant 1 message Jan 4, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH RESEND 7/29 trident_main.c - vfree() checking

trident_main.c vfree() checking cleanups.

Signed-off by: James Lamanna <[email protected]>

 trident_main.c |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)
sound/pci/trident/trident_main.c +1 -2
@@ -3679,8 +3679,7 @@
 			snd_util_memhdr_free(trident->tlb.memhdr);
 		if (trident->tlb.silent_page.area)
 			snd_dma_free_pages(&trident->tlb.silent_page);
-		if (trident->tlb.shadow_entries)
-			vfree(trident->tlb.shadow_entries);
+		vfree(trident->tlb.shadow_entries);
 		snd_dma_free_pages(&trident->tlb.buffer);
 	}
 	if (trident->irq >= 0)

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors