Message ID | 20171017041408.GA78257@lkp-sb05 (mailing list archive) |
---|---|
State | Superseded, archived |
Headers | show |
--- 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;
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@dell.com> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> --- dell-smbios.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)