提交 2845f477 编写于 作者: C Colin Ian King 提交者: Matthew Garrett

sony-laptop: remove unnecessary assigment of len

The assignment of len = len is unnecessary, so remove it.
Signed-off-by: NColin Ian King <colin.king@canonical.com>
Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
上级 b30bb89f
...@@ -791,7 +791,7 @@ static int sony_nc_buffer_call(acpi_handle handle, char *name, u64 *value, ...@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册