From 30713fa549ec7984e6755de8df363c6871723c88 Mon Sep 17 00:00:00 2001 From: Ashok G Date: Mon, 27 Feb 2012 11:17:28 +0530 Subject: u8500: shrm: Wrongly placed return statement St-Ericsson Linux next: NA St-Ericsson Id: 419832 St-Ericsson FOSS-OUT ID: Trivial Change-Id: I5a90032c32da0ae9c1963fcd132b5506ec75e591 Signed-off-by: Ashok G Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/50523 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Bibek BASU Reviewed-by: Arun MURTHY Reviewed-by: Srinidhi KASAGAR --- drivers/modem/shrm/shrm_protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/modem/shrm/shrm_protocol.c b/drivers/modem/shrm/shrm_protocol.c index df277dc9dfd..f029f4e0cfa 100644 --- a/drivers/modem/shrm/shrm_protocol.c +++ b/drivers/modem/shrm/shrm_protocol.c @@ -954,7 +954,7 @@ int shrm_protocol_init(struct shrm_dev *shrm, "shm_mod_reset_req"); if (IS_ERR(shrm->shm_mod_stuck_kw_task)) { dev_err(shrm->dev, "failed to create work task\n"); - return -ENOMEM; + err = -ENOMEM; goto free_kw5; } -- cgit v1.2.3