The “rmmod" is used to remove the module from kernel.The module name which you wan to remove from the Kernel
(excluding the .ko) is specified to identify the module. The kernel will not remove a module that is currently being used in the kernel (a non-zero use count), but a -w option can be specified to "rmmod"
instruct the kernel to remove it once the use-count has decreased to zero.
root@admin#rmmod your_module
If you don’t know anything about “lsmod” then please read it first