]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
keys: remove trailing semicolon in macro definition
authorTom Rix <trix@redhat.com>
Fri, 27 Nov 2020 19:15:43 +0000 (11:15 -0800)
committerDavid Howells <dhowells@redhat.com>
Thu, 21 Jan 2021 16:16:10 +0000 (16:16 +0000)
The macro use will already have a semicolon.

Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Jarkko Sakkinen <jarkko@kernel.org>
Reviewed-by: Ben Boeckel <mathstuf@gmail.com>
include/linux/key.h

index 0f2e24f13c2bdff3c4136b5f2f914e394b1bcb15..1b0837c975b9d74154a8b0d6071573ca9f46f997 100644 (file)
@@ -360,7 +360,7 @@ static inline struct key *request_key(struct key_type *type,
  * completion of keys undergoing construction with a non-interruptible wait.
  */
 #define request_key_net(type, description, net, callout_info) \
-       request_key_tag(type, description, net->key_domain, callout_info);
+       request_key_tag(type, description, net->key_domain, callout_info)
 
 /**
  * request_key_net_rcu - Request a key for a net namespace under RCU conditions
@@ -372,7 +372,7 @@ static inline struct key *request_key(struct key_type *type,
  * network namespace are used.
  */
 #define request_key_net_rcu(type, description, net) \
-       request_key_rcu(type, description, net->key_domain);
+       request_key_rcu(type, description, net->key_domain)
 #endif /* CONFIG_NET */
 
 extern int wait_for_key_construction(struct key *key, bool intr);