[PATCH 16/56] idle: Remove void casts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Remove uneeded void casts

Signed-Off-By: Jack Stone <jwjstone@xxxxxxxxxxx>
---
 drivers/idle/i7300_idle.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/idle/i7300_idle.c b/drivers/idle/i7300_idle.c
index bf74039..112a4d1 100644
--- a/drivers/idle/i7300_idle.c
+++ b/drivers/idle/i7300_idle.c
@@ -227,7 +227,7 @@ static int __init i7300_idle_ioat_init(void)
 	writew(IOAT_CHANCTRL_CHANNEL_IN_USE,
 		ioat_chanbase + IOAT_CHANCTRL_OFFSET);
 
-	ioat_desc = (struct ioat_dma_descriptor *)dma_alloc_coherent(
+	ioat_desc = dma_alloc_coherent(
 			&dummy_dma_dev, 4096,
 			(dma_addr_t *)&ioat_desc_phys, GFP_KERNEL);
 	if (!ioat_desc) {
-- 
1.5.4.3

--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux