[PATCH] platform/x86: dell-smbios: fix semicolon.cocci warnings

From: kbuild test robot
Date: Tue Oct 17 2017 - 00:15:06 EST


drivers/platform/x86/dell-smbios.c:108:2-3: Unneeded semicolon
drivers/platform/x86/dell-smbios.c:87:2-3: Unneeded semicolon


Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Fixes: 79480699ede0 ("platform/x86: dell-smbios: Introduce dispatcher for SMM calls")
CC: Mario Limonciello <mario.limonciello@xxxxxxxx>
Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
---

dell-smbios.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

--- a/drivers/platform/x86/dell-smbios.c
+++ b/drivers/platform/x86/dell-smbios.c
@@ -84,7 +84,7 @@ void dell_smbios_unregister_device(struc
put_device(d);
break;
}
- };
+ }
mutex_unlock(&smbios_mutex);
dev_dbg(d, "Remove device: %s\n", d->driver->name);
}
@@ -105,7 +105,7 @@ int dell_smbios_call(struct calling_inte
call_fn = priv->call_fn;
selected_dev = priv->device;
}
- };
+ }

if (!selected_dev) {
ret = -ENODEV;