aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2014-01-10 09:04:24 -0500
committerMatthew Garrett <matthew.garrett@nebula.com>2014-01-21 08:44:17 -0500
commit2845f4772386fdbfeac20bd04e8c17e0e5d823f4 (patch)
tree574d9393f57ba0090cd769a3d71e1c55ae210516 /drivers/platform
parentb30bb89f0fb29502f573d01419391a1e2a4cc4f1 (diff)
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>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/x86/sony-laptop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c
index fb233ae7bb0e..61fa755b7efb 100644
--- a/drivers/platform/x86/sony-laptop.c
+++ b/drivers/platform/x86/sony-laptop.c
@@ -791,7 +791,7 @@ static int sony_nc_buffer_call(acpi_handle handle, char *name, u64 *value,
791 void *buffer, size_t buflen) 791 void *buffer, size_t buflen)
792{ 792{
793 int ret = 0; 793 int ret = 0;
794 size_t len = len; 794 size_t len;
795 union acpi_object *object = __call_snc_method(handle, name, value); 795 union acpi_object *object = __call_snc_method(handle, name, value);
796 796
797 if (!object) 797 if (!object)