Commit 83db51fe authored by Rupesh Gujare's avatar Rupesh Gujare Committed by Greg Kroah-Hartman
Browse files

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: default avatarRupesh Gujare <rupesh.gujare@atmel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3bc0d882
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -720,9 +720,8 @@ struct oz_port *oz_hcd_pd_arrived(void *hpd)
 * 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;