Commit b3c0e38
ACPI: EC: Drop unneeded result variable from ec_write()
Return the acpi_ec_write() return value directly instead of storing it
in another redundant variable.
Reported-by: Zeal Robot <[email protected]>
Signed-off-by: ye xingchen <[email protected]>
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <[email protected]>1 parent b90cb10 commit b3c0e38
1 file changed
+1
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
917 | 917 | | |
918 | 918 | | |
919 | 919 | | |
920 | | - | |
921 | | - | |
922 | 920 | | |
923 | 921 | | |
924 | 922 | | |
925 | | - | |
926 | | - | |
927 | | - | |
| 923 | + | |
928 | 924 | | |
929 | 925 | | |
930 | 926 | | |
| |||
0 commit comments