mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 13:29:17 -04:00
platform/x86: thinkpad_acpi: Fix inconsistent indenting
Eliminate the follow smatch warning: drivers/platform/x86/thinkpad_acpi.c:7942 volume_write() warn: inconsistent indenting. Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Link: https://lore.kernel.org/r/1621837438-70790-1-git-send-email-jiapeng.chong@linux.alibaba.com Signed-off-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
committed by
Hans de Goede
parent
ab66724a23
commit
3fca4b143e
@@ -7938,7 +7938,7 @@ static int volume_write(char *buf)
|
||||
continue;
|
||||
} else if (sscanf(cmd, "level %u", &l) == 1 &&
|
||||
l >= 0 && l <= TP_EC_VOLUME_MAX) {
|
||||
new_level = l;
|
||||
new_level = l;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user