diff options
author | Rupesh Gujare <rupesh.gujare@atmel.com> | 2013-08-15 07:00:21 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-15 20:19:27 -0400 |
commit | 3bc0d88243af70a45cd4658723bd4a0aaf5bb6f1 (patch) | |
tree | 75bb25cd9a5624bbf4eee63c59da88e58221cc43 | |
parent | 35cf90459312fc3b6bc4bbf31aa5fe47b73922d4 (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.c | 2 |
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) | |||
663 | struct oz_port *oz_hcd_pd_arrived(void *hpd) | 663 | struct oz_port *oz_hcd_pd_arrived(void *hpd) |
664 | { | 664 | { |
665 | int i; | 665 | int i; |
666 | struct oz_port *hport = NULL; | 666 | struct oz_port *hport; |
667 | struct oz_hcd *ozhcd; | 667 | struct oz_hcd *ozhcd; |
668 | struct oz_endpoint *ep; | 668 | struct oz_endpoint *ep; |
669 | 669 | ||