Skip to content

Commit

Permalink
sony-laptop: remove unnecessary assigment of len
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Colin Ian King authored and Matthew Garrett committed Jan 21, 2014
1 parent b30bb89 commit 2845f47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/platform/x86/sony-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2845f47

Please sign in to comment.