drivers: w1: removed assignment from within if statement
authorBen Werbowyj <ben.werbowyj@gmail.com>
Fri, 22 Jul 2016 04:33:34 +0000 (14:33 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Aug 2016 11:56:04 +0000 (13:56 +0200)
commitaaf16f7d98fedb24099361492821fcdc77036eab
tree19dd5ac9a43480ecc6c8ad11acae80a90f57989d
parentd4c3f97a062969ce52ecc5428e3dbbe93c157dd2
drivers: w1: removed assignment from within if statement

Assignment of variable count removed from within an if statment.
This was done at two locations in the file.

Signed-off-by: Ben Werbowyj <ben.werbowyj@gmail.com>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/w1/slaves/w1_therm.c