the interfaceTag is actually initialised in for loop of this function
and its not needed to initialise it before for loop.

and also remove the comment that is obvious about this variable.

Cc: Mikko Virkkilä <mikko.virkk...@bluegiga.com>
Cc: Lauri Hintsala <lauri.hints...@bluegiga.com>
Cc: Riku Mettälä <riku.mett...@bluegiga.com>
Cc: Veli-Pekka Peltola <veli-pekka.pelt...@bluegiga.com>
Signed-off-by: Devendra Naga <develkernel412...@gmail.com>
---
 drivers/staging/csr/bh.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/csr/bh.c b/drivers/staging/csr/bh.c
index 2597e22..3193df2 100644
--- a/drivers/staging/csr/bh.c
+++ b/drivers/staging/csr/bh.c
@@ -164,7 +164,7 @@ uf_wait_for_thread_to_stop(unifi_priv_t *priv, struct 
uf_thread *thread)
 handle_bh_error(unifi_priv_t *priv)
 {
     u8 conf_param = CONFIG_IND_ERROR;
-    u8 interfaceTag = 0; /* used as a loop counter */
+    u8 interfaceTag;
 
 
     /* Block unifi_run_bh() until the error has been handled. */
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to