[PATCH] remove an escaped __MOD_DEC_USE_COUNT

Christoph Hellwig
2003-02-20T19:48:00Z

we should be using module_put really, __MOD_DEC_USE_COUNT will die soon

--- 1.9/drivers/scsi/pluto.c Tue Feb 4 12:55:10 2003
+++ edited/drivers/scsi/pluto.c Thu Feb 20 19:26:15 2003
@@ -287,7 +287,7 @@
struct pluto *pluto = (struct pluto *)host->hostdata;
fc_channel *fc = pluto->fc;

- if (fc->module) __MOD_DEC_USE_COUNT(fc->module);
+ module_put(fc->module);

fc->fcp_register(fc, TYPE_SCSI_FCP, 1);
PLND((" releasing pluto.\n"));