diff options
-rw-r--r-- | drivers/scsi/cxgb3i/cxgb3i_init.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/scsi/cxgb3i/cxgb3i_init.c b/drivers/scsi/cxgb3i/cxgb3i_init.c index d0ab23a58355..685af3698518 100644 --- a/drivers/scsi/cxgb3i/cxgb3i_init.c +++ b/drivers/scsi/cxgb3i/cxgb3i_init.c | |||
@@ -104,8 +104,10 @@ static int __init cxgb3i_init_module(void) | |||
104 | return err; | 104 | return err; |
105 | 105 | ||
106 | err = cxgb3i_pdu_init(); | 106 | err = cxgb3i_pdu_init(); |
107 | if (err < 0) | 107 | if (err < 0) { |
108 | cxgb3i_iscsi_cleanup(); | ||
108 | return err; | 109 | return err; |
110 | } | ||
109 | 111 | ||
110 | cxgb3_register_client(&t3c_client); | 112 | cxgb3_register_client(&t3c_client); |
111 | 113 | ||