aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging
diff options
context:
space:
mode:
authorDevendra Naga <develkernel412222@gmail.com>2012-08-04 13:03:05 +0545
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-08-13 18:57:44 -0700
commitbe21a084c104de45d8bfab0a0ad3a73ed902db25 (patch)
tree120cc21e7548c22dc6103b5241a3bc7ae24ac91b /drivers/staging
parentb29687fb8857061348db95c13712ca36549725b2 (diff)
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ä <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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/csr/bh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/csr/bh.c b/drivers/staging/csr/bh.c
index 2597e22291c..3193df21518 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. */