1
0

003-remove_bogus_modparams.patch 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. --- a/compat/main.c
  2. +++ b/compat/main.c
  3. @@ -19,31 +19,6 @@ MODULE_LICENSE("GPL");
  4. #error "You need a CPTCFG_VERSION"
  5. #endif
  6. -static char *backported_kernel_name = CPTCFG_KERNEL_NAME;
  7. -
  8. -module_param(backported_kernel_name, charp, 0400);
  9. -MODULE_PARM_DESC(backported_kernel_name,
  10. - "The kernel tree name that was used for this backport (" CPTCFG_KERNEL_NAME ")");
  11. -
  12. -#ifdef BACKPORTS_GIT_TRACKED
  13. -static char *backports_tracker_id = BACKPORTS_GIT_TRACKED;
  14. -module_param(backports_tracker_id, charp, 0400);
  15. -MODULE_PARM_DESC(backports_tracker_id,
  16. - "The version of the tree containing this backport (" BACKPORTS_GIT_TRACKED ")");
  17. -#else
  18. -static char *backported_kernel_version = CPTCFG_KERNEL_VERSION;
  19. -static char *backports_version = CPTCFG_VERSION;
  20. -
  21. -module_param(backported_kernel_version, charp, 0400);
  22. -MODULE_PARM_DESC(backported_kernel_version,
  23. - "The kernel version that was used for this backport (" CPTCFG_KERNEL_VERSION ")");
  24. -
  25. -module_param(backports_version, charp, 0400);
  26. -MODULE_PARM_DESC(backports_version,
  27. - "The git version of the backports tree used to generate this backport (" CPTCFG_VERSION ")");
  28. -
  29. -#endif
  30. -
  31. void backport_dependency_symbol(void)
  32. {
  33. }