Commit 3799b5d2 authored by Edson Juliano Drosdeck's avatar Edson Juliano Drosdeck Committed by Hans de Goede

platform/x86: asus-laptop: remove redundant braces in if statements

Adhere to Linux kernel coding style.

Reported by checkpatch:

WARNING: braces {} are not necessary for single statement blocks
Signed-off-by: default avatarEdson Juliano Drosdeck <edson.drosdeck@gmail.com>
Link: https://lore.kernel.org/r/20231016191349.3856-1-edson.drosdeck@gmail.comSigned-off-by: default avatarHans de Goede <hdegoede@redhat.com>
parent 446dd8ef
......@@ -1816,9 +1816,8 @@ static void asus_dmi_check(void)
return;
/* On L1400B WLED control the sound card, don't mess with it ... */
if (strncmp(model, "L1400B", 6) == 0) {
if (strncmp(model, "L1400B", 6) == 0)
wlan_status = -1;
}
}
static bool asus_device_present;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment