summaryrefslogtreecommitdiffstats
path: root/drivers/staging/ozwpan
diff options
context:
space:
mode:
authorRupesh Gujare2013-08-15 13:00:22 +0200
committerGreg Kroah-Hartman2013-08-16 02:19:27 +0200
commit83db51fe7286b96a3b90df26e6734c1506879e8e (patch)
tree43a03fe69028be3af0189d40811914ac0cb6b8ef /drivers/staging/ozwpan
parentstaging: ozwpan: Remove unneeded variable initializer (diff)
downloadkernel-qcow2-linux-83db51fe7286b96a3b90df26e6734c1506879e8e.tar.gz
kernel-qcow2-linux-83db51fe7286b96a3b90df26e6734c1506879e8e.tar.xz
kernel-qcow2-linux-83db51fe7286b96a3b90df26e6734c1506879e8e.zip
staging: ozwpan: Remove extra variable.
We should not use extra variable just to copy pointer value, renaming parameter name serves pupose & removes extra variable. Signed-off-by: Rupesh Gujare <rupesh.gujare@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ozwpan')
-rw-r--r--drivers/staging/ozwpan/ozhcd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/ozwpan/ozhcd.c b/drivers/staging/ozwpan/ozhcd.c
index 9a374fd3d2c9..2b67107db6b2 100644
--- a/drivers/staging/ozwpan/ozhcd.c
+++ b/drivers/staging/ozwpan/ozhcd.c
@@ -720,9 +720,8 @@ err_put:
* polled. We release the reference we hold on the PD.
* Context: softirq
*/
-void oz_hcd_pd_departed(struct oz_port *hport)
+void oz_hcd_pd_departed(struct oz_port *port)
{
- struct oz_port *port = hport;
struct oz_hcd *ozhcd;
void *hpd;
struct oz_endpoint *ep = NULL;