extern int ql2xgffidenable;
 extern int ql2xenabledif;
 extern int ql2xenablehba_err_chk;
-extern int ql2xtargetreset;
 extern int ql2xdontresethba;
 extern uint64_t ql2xmaxlun;
 extern int ql2xmdcapmask;
 extern void qlafx00_fxdisc_iocb(srb_t *, struct fxdisc_entry_fx00 *);
 extern void qlafx00_timer_routine(scsi_qla_host_t *);
 extern int qlafx00_rescan_isp(scsi_qla_host_t *);
-extern int qlafx00_loop_reset(scsi_qla_host_t *vha);
 
 /* qla82xx related functions */
 
 
        return qla2x00_async_tm_cmd(fcport, TCF_LUN_RESET, l, tag);
 }
 
-int
-qlafx00_loop_reset(scsi_qla_host_t *vha)
-{
-       int ret;
-       struct fc_port *fcport;
-       struct qla_hw_data *ha = vha->hw;
-
-       if (ql2xtargetreset) {
-               list_for_each_entry(fcport, &vha->vp_fcports, list) {
-                       if (fcport->port_type != FCT_TARGET)
-                               continue;
-
-                       ret = ha->isp_ops->target_reset(fcport, 0, 0);
-                       if (ret != QLA_SUCCESS) {
-                               ql_dbg(ql_dbg_taskm, vha, 0x803d,
-                                   "Bus Reset failed: Reset=%d "
-                                   "d_id=%x.\n", ret, fcport->d_id.b24);
-                       }
-               }
-       }
-       return QLA_SUCCESS;
-}
-
 int
 qlafx00_iospace_config(struct qla_hw_data *ha)
 {
 
                " 0 -- Regular doorbell.\n"
                " 1 -- CAMRAM doorbell (faster).\n");
 
-int ql2xtargetreset = 1;
-module_param(ql2xtargetreset, int, S_IRUGO);
-MODULE_PARM_DESC(ql2xtargetreset,
-                "Enable target reset."
-                "Default is 1 - use hw defaults.");
-
 int ql2xgffidenable;
 module_param(ql2xgffidenable, int, S_IRUGO);
 MODULE_PARM_DESC(ql2xgffidenable,
 qla2x00_loop_reset(scsi_qla_host_t *vha)
 {
        int ret;
-       struct fc_port *fcport;
        struct qla_hw_data *ha = vha->hw;
 
-       if (IS_QLAFX00(ha)) {
-               return qlafx00_loop_reset(vha);
-       }
-
-       if (ql2xtargetreset == 1 && ha->flags.enable_target_reset) {
-               list_for_each_entry(fcport, &vha->vp_fcports, list) {
-                       if (fcport->port_type != FCT_TARGET)
-                               continue;
-
-                       ret = ha->isp_ops->target_reset(fcport, 0, 0);
-                       if (ret != QLA_SUCCESS) {
-                               ql_dbg(ql_dbg_taskm, vha, 0x802c,
-                                   "Bus Reset failed: Reset=%d "
-                                   "d_id=%x.\n", ret, fcport->d_id.b24);
-                       }
-               }
-       }
-
+       if (IS_QLAFX00(ha))
+               return QLA_SUCCESS;
 
        if (ha->flags.enable_lip_full_login && !IS_CNA_CAPABLE(ha)) {
                atomic_set(&vha->loop_state, LOOP_DOWN);