Skip to contentSkip to conversation

remove an escaped __MOD_DEC_USE_COUNT

PATCH New Christoph Hellwig 1 participant 1 message Feb 20, 2003 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remove an escaped __MOD_DEC_USE_COUNT

we should be using module_put really, __MOD_DEC_USE_COUNT will die soon

drivers/scsi/pluto.c +1 -1
@@ -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"));