]> www.pilppa.org Git - linux-2.6-omap-h63xx.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)
commit0686e402c365c92396d4c7abfaa24810f9cb77cc
tree34737bfe43c8e747ca3b769ce9e90fbc7a785110
parent58eb27cd7f4f1de2932b3e0e39ea54a27e9fef43
[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