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>
This commit is contained in:
parent
b30bb89f0f
commit
2845f47723
1 changed files with 1 additions and 1 deletions
|
@ -791,7 +791,7 @@ static int sony_nc_buffer_call(acpi_handle handle, char *name, u64 *value,
|
||||||
void *buffer, size_t buflen)
|
void *buffer, size_t buflen)
|
||||||
{
|
{
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
size_t len = len;
|
size_t len;
|
||||||
union acpi_object *object = __call_snc_method(handle, name, value);
|
union acpi_object *object = __call_snc_method(handle, name, value);
|
||||||
|
|
||||||
if (!object)
|
if (!object)
|
||||||
|
|
Loading…
Reference in a new issue