From: Devendra Naga Date: Sat, 4 Aug 2012 07:18:05 +0000 (+0545) Subject: staging/csr: remove the initialisation of interfaceTag and its comment in handle_bh_error X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=be21a084c104de45d8bfab0a0ad3a73ed902db25;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git 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ä Cc: Lauri Hintsala Cc: Riku Mettälä Cc: Veli-Pekka Peltola Signed-off-by: Devendra Naga Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/csr/bh.c b/drivers/staging/csr/bh.c index 2597e22291ca..3193df215181 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. */