From: Rupesh Gujare Date: Thu, 15 Aug 2013 11:00:22 +0000 (+0100) Subject: staging: ozwpan: Remove extra variable. X-Git-Tag: MMI-PSA29.97-13-9~13778^2~257 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=83db51fe7286b96a3b90df26e6734c1506879e8e;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: Greg Kroah-Hartman --- 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;