mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 13:59:45 -04:00
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
3bc0d88243
commit
83db51fe72
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user