Skip to content

Commit

Permalink
platform/x86: thinkpad_acpi: remove trailing semicolon in macro defin…
Browse files Browse the repository at this point in the history
…ition

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>
  • Loading branch information
Tom Rix authored and jwrdegoede committed Dec 2, 2020
1 parent 2425ccd commit 06706da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/platform/x86/thinkpad_acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 06706da

Please sign in to comment.