projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2425ccd
)
platform/x86: thinkpad_acpi: remove trailing semicolon in macro definition
author
Tom Rix
<trix@redhat.com>
Fri, 27 Nov 2020 18:10:24 +0000
(10:10 -0800)
committer
Hans de Goede
<hdegoede@redhat.com>
Wed, 2 Dec 2020 12:13:03 +0000
(13:13 +0100)
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>
drivers/platform/x86/thinkpad_acpi.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/thinkpad_acpi.c
b/drivers/platform/x86/thinkpad_acpi.c
index 26b1502f9bbe8e207e4229a18f25d61d41cd96e6..e03df2881dc6dfff51ebbd366892fd6f4c1f96e5 100644
(file)
--- 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)