diff options
author | Edson Juliano Drosdeck <edson.drosdeck@gmail.com> | 2023-10-16 16:13:49 -0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2023-12-02 12:27:25 +0100 |
commit | 3799b5d2323dffde5e2ba60b5bfbd8e6d4bea28e (patch) | |
tree | 45280dea7812655838dff359fc0c67273920236e /drivers/platform/x86/asus-laptop.c | |
parent | 446dd8efa94ca80a8b91fbe907364001ed1b3d85 (diff) |
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: Edson Juliano Drosdeck <edson.drosdeck@gmail.com>
Link: https://lore.kernel.org/r/20231016191349.3856-1-edson.drosdeck@gmail.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform/x86/asus-laptop.c')
-rw-r--r-- | drivers/platform/x86/asus-laptop.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/platform/x86/asus-laptop.c b/drivers/platform/x86/asus-laptop.c index 761029f39314..bf03ea1b1274 100644 --- a/drivers/platform/x86/asus-laptop.c +++ b/drivers/platform/x86/asus-laptop.c @@ -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; |