Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Devendra Naga and committed by
Greg Kroah-Hartman
be21a084 b29687fb

+1 -1
+1 -1
drivers/staging/csr/bh.c
··· 164 164 handle_bh_error(unifi_priv_t *priv) 165 165 { 166 166 u8 conf_param = CONFIG_IND_ERROR; 167 - u8 interfaceTag = 0; /* used as a loop counter */ 167 + u8 interfaceTag; 168 168 169 169 170 170 /* Block unifi_run_bh() until the error has been handled. */