diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-09-09 01:15:52 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-26 11:53:23 -0400 |
commit | bbf831dfe8538ef3797c9603b7897d4ad9ef9d4a (patch) | |
tree | 974a8a30035c881b3c9875341de3ccf48f316f22 /drivers/misc/ibmasm | |
parent | 20055477566958e751a20290aa45ae21bd4b5e11 (diff) |
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>
Diffstat (limited to 'drivers/misc/ibmasm')
-rw-r--r-- | drivers/misc/ibmasm/module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/ibmasm/module.c b/drivers/misc/ibmasm/module.c index 0346d87c5fed..0c290e40ce06 100644 --- a/drivers/misc/ibmasm/module.c +++ b/drivers/misc/ibmasm/module.c | |||
@@ -165,7 +165,7 @@ error_resources: | |||
165 | 165 | ||
166 | static void ibmasm_remove_one(struct pci_dev *pdev) | 166 | static void ibmasm_remove_one(struct pci_dev *pdev) |
167 | { | 167 | { |
168 | struct service_processor *sp = (struct service_processor *)pci_get_drvdata(pdev); | 168 | struct service_processor *sp = pci_get_drvdata(pdev); |
169 | 169 | ||
170 | dbg("Unregistering UART\n"); | 170 | dbg("Unregistering UART\n"); |
171 | ibmasm_unregister_uart(sp); | 171 | ibmasm_unregister_uart(sp); |