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 <zealci@zte.com.cn>
Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>1 parent b90cb10 commit b3c0e38
1 file changed
Lines changed: 1 addition & 5 deletions
| 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