Skip to contentSkip to conversation

staging/csr: remove the initialisation of interfaceTag and its comment in handle_bh_error

PATCH In review Devendra Naga 1 participant 1 message Aug 4, 2012 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 4/5 staging/csr: remove the initialisation of interfaceTag and its comment in handle_bh_error

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ä <[email protected]>
Cc Lauri Hintsala <[email protected]>
Cc Riku Mettälä <[email protected]>
Cc Veli-Pekka Peltola <[email protected]>
---
 drivers/staging/csr/bh.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/csr/bh.c +1 -1
index 2597e22..3193df2 100644
@@ -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. */
Signature · 1 line
1.7.9.5