mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
module: add within_module() function
commit 9b20a352d7 upstream.
It is just a small optimization that allows to replace few
occurrences of within_module_init() || within_module_core()
with a single call.
Signed-off-by: Petr Mladek <pmladek@suse.cz>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
parent
dc2feeef21
commit
4bfbcffa10
2 changed files with 9 additions and 8 deletions
Loading…
Add table
Add a link
Reference in a new issue