On Sun, 2006-02-26 at 09:48 +0530, Abu M. Muttalib wrote: > Hi, > > I did del_timer only before closing the device file and there was no OOPS. > Is it necessary to do del_timer(_sync) before closing the device/ unloading > the device? before unloading the module, the del_timer needs to have happened. If you do it in the actual unload or in the close shouldn't matter much; it depends really on what you want. Since you set the timer in open, removing it in close makes sense for symmetry reasons ;) -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/