diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-09-09 09:55:14 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-10-31 10:53:59 +0400 |
commit | 0e7e4d26cf3437bf3510e98e3c6d05b422a6943a (patch) | |
tree | 04f1e84fc7a7374113351442e8453c085e2b0a67 /drivers/media | |
parent | 0e48a3e8f616026195416e5d61c6cf24f686c2d8 (diff) | |
download | linux-0e7e4d26cf3437bf3510e98e3c6d05b422a6943a.tar.xz |
[media] ngene: 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: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/pci/ngene/ngene-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/pci/ngene/ngene-core.c b/drivers/media/pci/ngene/ngene-core.c index 8402ed6d886e..970e83308525 100644 --- a/drivers/media/pci/ngene/ngene-core.c +++ b/drivers/media/pci/ngene/ngene-core.c @@ -1622,7 +1622,7 @@ static void ngene_unlink(struct ngene *dev) void ngene_shutdown(struct pci_dev *pdev) { - struct ngene *dev = (struct ngene *)pci_get_drvdata(pdev); + struct ngene *dev = pci_get_drvdata(pdev); if (!dev || !shutdown_workaround) return; |