summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/modem/shrm/shrm_protocol.c2
1 files changed, 1 insertions, 1 deletions
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;
}