Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0bcb9fb9 authored by Ritesh Harjani's avatar Ritesh Harjani
Browse files

UBI: Fix a possible case of returning an unintialized variable



This fixes a possible case of returning an unintialized variable
ret.

Change-Id: Iecf7c8c9d44817c9c9b3412d164d8ee982892d96
Signed-off-by: default avatarRitesh Harjani <riteshh@codeaurora.org>
parent 7d7aefae
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -442,7 +442,7 @@ static ssize_t dev_attribute_store(struct device *dev,
			   struct device_attribute *attr,
			   const char *buf, size_t count)
{
	int ret;
	int ret = count;
	struct ubi_device *ubi;
	unsigned long long scrub_sqnum;