Skip to contentSkip to conversation

sony-laptop: remove unnecessary assigment of len

PATCH New Colin King 1 participant 1 message Jan 10, 2014

Subsystems (2)
lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 sony-laptop: remove unnecessary assigment of len

From: Colin Ian King <[email protected]>

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

---
 drivers/platform/x86/sony-laptop.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/platform/x86/sony-laptop.c +1 -1
index fb233ae..61fa755 100644
@@ -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)
Signature · 1 line
1.7.9.5