[PATCH v6 1/4] module: drop prototype for non-existing __symbol_get_gpl()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



There's no such function, and __symbol_get() is already declared
as GPL. So, this is likely a left-over.

Signed-off-by: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>
---

See [PATCH v6 0/4] at: https://lore.kernel.org/all/cover.1652113087.git.mchehab@xxxxxxxxxx/

 include/linux/module.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/linux/module.h b/include/linux/module.h
index ccfbaec82790..77961f5773b6 100644
--- a/include/linux/module.h
+++ b/include/linux/module.h
@@ -299,7 +299,6 @@ struct notifier_block;
 extern int modules_disabled; /* for sysctl */
 /* Get/put a kernel symbol (calls must be symmetric) */
 void *__symbol_get(const char *symbol);
-void *__symbol_get_gpl(const char *symbol);
 #define symbol_get(x) ((typeof(&x))(__symbol_get(__stringify(x))))
 
 /* modules using other modules: kdb wants to see this. */
-- 
2.35.3




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux