summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRupesh Gujare <rupesh.gujare@atmel.com>2013-08-15 12:00:21 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-15 17:19:27 -0700
commit3bc0d88243af70a45cd4658723bd4a0aaf5bb6f1 (patch)
tree75bb25cd9a5624bbf4eee63c59da88e58221cc43
parent35cf90459312fc3b6bc4bbf31aa5fe47b73922d4 (diff)
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>
-rw-r--r--drivers/staging/ozwpan/ozhcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/ozwpan/ozhcd.c b/drivers/staging/ozwpan/ozhcd.c
index 4cd08daf5111..9a374fd3d2c9 100644
--- a/drivers/staging/ozwpan/ozhcd.c
+++ b/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;