PCI: hv: Remove unnecessary type casting from kzalloc
authorDexuan Cui <decui@microsoft.com>
Sat, 22 Feb 2020 05:59:56 +0000 (21:59 -0800)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Mon, 24 Feb 2020 11:58:28 +0000 (11:58 +0000)
commite658a4fea8efe70ce3b9b6628268485e134508d1
tree83a19d41e034e739e54a8df8ac4cffba6e1a9652
parentbb6d3fb354c5ee8d6bde2d576eb7220ea09862b9
PCI: hv: Remove unnecessary type casting from kzalloc

In C, there is no need to cast a void * to any other pointer type,
remove an unnecessary cast.

Signed-off-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
drivers/pci/controller/pci-hyperv.c