greybus: connection: fix duplicating naming in _gb_hd_connection_insert()
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 14 Nov 2014 11:55:04 +0000 (17:25 +0530)
committerGreg Kroah-Hartman <greg@kroah.com>
Fri, 14 Nov 2014 21:49:04 +0000 (13:49 -0800)
commitab34291da5537f8b1e037873591d6a5d54e00749
treebeba7e1fd3fd0f553581298f5dd009ea61f5f729
parent1dd90df403692f718564638543e73b6d1f734f70
greybus: connection: fix duplicating naming in _gb_hd_connection_insert()

Though this doesn't cause any logical issues as far as the behavior of the
routine is concerned as the local variable would be considered inside the
'while' loop.

But its better not to use the same name for variables at different levels.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/connection.c