projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b30bb89
)
sony-laptop: remove unnecessary assigment of len
author
Colin Ian King
<
[email protected]
>
Fri, 10 Jan 2014 14:04:24 +0000
(14:04 +0000)
committer
Matthew Garrett
<
[email protected]
>
Tue, 21 Jan 2014 13:44:17 +0000
(08:44 -0500)
The assignment of len = len is unnecessary, so remove it.
Signed-off-by: Colin Ian King <
[email protected]
>
Signed-off-by: Matthew Garrett <
[email protected]
>
drivers/platform/x86/sony-laptop.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/sony-laptop.c
b/drivers/platform/x86/sony-laptop.c
index fb233ae7bb0e3e8374691818cfe61125e66371a5..61fa755b7efb8b0d21a1312994bf51f46a54af14 100644
(file)
--- 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,
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)