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

Commit e9f11ace authored by Daeseok Youn's avatar Daeseok Youn Committed by Greg Kroah-Hartman
Browse files

staging: atomisp: remove else statement after return



It doesn't need to have else statement after return.

Signed-off-by: default avatarDaeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9b7edbb6
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -2951,10 +2951,10 @@ int atomisp_get_metadata(struct atomisp_sub_device *asd, int flag,
		dev_err(isp->dev, "copy to user failed: copied %d bytes\n",
			ret);
		return -EFAULT;
	} else {
	}

	list_del_init(&md_buf->list);
	list_add_tail(&md_buf->list, &asd->metadata[md_type]);
	}

	dev_dbg(isp->dev, "%s: HAL de-queued metadata type %d with exp_id %d\n",
		__func__, md_type, md->exp_id);