Explorar el Código

sony-laptop: remove unnecessary assigment of len

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

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
Colin Ian King hace 12 años
padre
commit
2845f47723
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      drivers/platform/x86/sony-laptop.c

+ 1 - 1
drivers/platform/x86/sony-laptop.c

@@ -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)