misc: ibmasm: Remove casting the return value which is a void pointer
Casting the return value which is a void pointer is redundant. The conversion from void pointer to any other pointer type is guaranteed by the C programming language. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
2005547756
commit
bbf831dfe8
drivers/misc/ibmasm
|
@ -165,7 +165,7 @@ error_resources:
|
||||||
|
|
||||||
static void ibmasm_remove_one(struct pci_dev *pdev)
|
static void ibmasm_remove_one(struct pci_dev *pdev)
|
||||||
{
|
{
|
||||||
struct service_processor *sp = (struct service_processor *)pci_get_drvdata(pdev);
|
struct service_processor *sp = pci_get_drvdata(pdev);
|
||||||
|
|
||||||
dbg("Unregistering UART\n");
|
dbg("Unregistering UART\n");
|
||||||
ibmasm_unregister_uart(sp);
|
ibmasm_unregister_uart(sp);
|
||||||
|
|
Loading…
Reference in New Issue