summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2020-11-27 10:10:24 -0800
committerHans de Goede <hdegoede@redhat.com>2020-12-02 13:13:03 +0100
commit06706da2bb5e239df31f39c7247087ac07fb039e (patch)
tree5a8edc859366637131e3693cf60ca8bac7989fab
parent2425ccd30fd78ce35237350fe8baac31dc18bd45 (diff)
downloadlinux-06706da2bb5e239df31f39c7247087ac07fb039e.tar.bz2
platform/x86: thinkpad_acpi: remove trailing semicolon in macro definition
The macro use will already have a semicolon. Signed-off-by: Tom Rix <trix@redhat.com> Link: https://lore.kernel.org/r/20201127181024.2771890-1-trix@redhat.com Signed-off-by: Hans de Goede <hdegoede@redhat.com>
-rw-r--r--drivers/platform/x86/thinkpad_acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c
index 26b1502f9bbe..e03df2881dc6 100644
--- a/drivers/platform/x86/thinkpad_acpi.c
+++ b/drivers/platform/x86/thinkpad_acpi.c
@@ -1025,7 +1025,7 @@ static struct attribute_set *create_attr_set(unsigned int max_members,
}
#define destroy_attr_set(_set) \
- kfree(_set);
+ kfree(_set)
/* not multi-threaded safe, use it in a single thread per set */
static int add_to_attr_set(struct attribute_set *s, struct attribute *attr)