msm: msm_bus: initialize the local variable

Initialize the local variable 'ret' which is returned
from the function.

Change-Id: Ie82e74ce55b622db924e353a6ea98323c7642fa6
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
This commit is contained in:
Odelu Kukatla 2017-03-23 22:20:44 +05:30 committed by Gerrit - the friendly Code Review server
parent 40a081e38b
commit fc49a00f1f

View file

@ -531,7 +531,7 @@ static int msm_bus_enable_node_qos_clk(struct msm_bus_node_device_type *node)
{
struct msm_bus_node_device_type *bus_node = NULL;
int i;
int ret;
int ret = 0;
long rounded_rate;
if (!node || (!to_msm_bus_node(node->node_info->bus_device))) {