Browse Source

staging: ozwpan: Remove unneeded variable initializer

We are assigning value to hport before returning, there is
no need to initialize it.

Signed-off-by: Rupesh Gujare <rupesh.gujare@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Rupesh Gujare 12 years ago
parent
commit
3bc0d88243
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/staging/ozwpan/ozhcd.c

+ 1 - 1
drivers/staging/ozwpan/ozhcd.c

@@ -663,7 +663,7 @@ static inline void oz_hcd_put(struct oz_hcd *ozhcd)
 struct oz_port *oz_hcd_pd_arrived(void *hpd)
 {
 	int i;
-	struct oz_port *hport = NULL;
+	struct oz_port *hport;
 	struct oz_hcd *ozhcd;
 	struct oz_endpoint *ep;