* [PATCH 4/5] staging/csr: remove the initialisation of interfaceTag and its comment in handle_bh_error
@ 2012-08-04 7:18 Devendra Naga
0 siblings, 0 replies; only message in thread
From: Devendra Naga @ 2012-08-04 7:18 UTC (permalink / raw)
To: Greg Kroah-Hartman, devel, linux-kernel
Cc: Devendra Naga, Mikko Virkkilä, Lauri Hintsala,
Riku Mettälä, Veli-Pekka Peltola
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.virkkila@bluegiga.com>
Cc: Lauri Hintsala <Lauri.Hintsala@bluegiga.com>
Cc: Riku Mettälä <riku.mettala@bluegiga.com>
Cc: Veli-Pekka Peltola <veli-pekka.peltola@bluegiga.com>
Signed-off-by: Devendra Naga <develkernel412222@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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-08-04 7:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-04 7:18 [PATCH 4/5] staging/csr: remove the initialisation of interfaceTag and its comment in handle_bh_error Devendra Naga
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox