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

Commit 2845f477 authored by Colin Ian King's avatar Colin Ian King Committed by Matthew Garrett
Browse files

sony-laptop: remove unnecessary assigment of len



The assignment of len = len is unnecessary, so remove it.

Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarMatthew Garrett <matthew.garrett@nebula.com>
parent b30bb89f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -791,7 +791,7 @@ static int sony_nc_buffer_call(acpi_handle handle, char *name, u64 *value,
		void *buffer, size_t buflen)
{
	int ret = 0;
	size_t len = len;
	size_t len;
	union acpi_object *object = __call_snc_method(handle, name, value);

	if (!object)