Fix chip/cxd56_gnss.c:2858:7: error: label 'err' used but not defined

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-10-03 16:31:31 +08:00 committed by Petro Karashchenko
parent d071d6869f
commit f813fea555

View File

@ -2746,7 +2746,7 @@ static ssize_t cxd56_gnss_read(struct file *filep, char *buffer,
if (!buffer) if (!buffer)
{ {
ret = -EINVAL; ret = -EINVAL;
goto err; goto out;
} }
if (len == 0) if (len == 0)