]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] qdio: remove the module_get & module_put pair
authorJan Glauber <jang@linux.vnet.ibm.com>
Thu, 21 Aug 2008 17:46:35 +0000 (19:46 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 21 Aug 2008 17:46:40 +0000 (19:46 +0200)
commit4e8a293ec8ffab59cb2b26322c1581140b303b07
tree34737bfe43c8e747ca3b769ce9e90fbc7a785110
parent07314d5b36f5ec09f8d2c51755c52d0e8c00394c
[S390] qdio: remove the module_get & module_put pair

Increasing the qdio reference count for every used subchannel
is unnecessary since unloading qdio (if build as a module) is
only possible if other modules that use qdio are unloaded.
Unloading modules that use qdio in turn requires that these
modules shut down all qdio subchannels. Therefore the additional
module_get reference is not needed.

Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/qdio_main.c