Linux Mastering Development

modinfo doesn’t change after rmmod

I am attempting to install a new version of a kernel module. To this end, I attempted to remove the old module with rmmod mod. This gave no output. When I tried modinfo mod, however, I received the same result I did before calling rmmod. What am I missing?