Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Mar 2017 16:14:33 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r316165 - stable/10/sys/dev/isp
Message-ID:  <201703291614.v2TGEXAt059485@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Wed Mar 29 16:14:33 2017
New Revision: 316165
URL: https://svnweb.freebsd.org/changeset/base/316165

Log:
  MFC r315534: Remove some dead stuff.

Modified:
  stable/10/sys/dev/isp/isp_target.h
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/isp/isp_target.h
==============================================================================
--- stable/10/sys/dev/isp/isp_target.h	Wed Mar 29 16:14:04 2017	(r316164)
+++ stable/10/sys/dev/isp/isp_target.h	Wed Mar 29 16:14:33 2017	(r316165)
@@ -59,30 +59,19 @@ typedef enum {
 
 typedef struct isp_notify {
 	void *		nt_hba;		/* HBA tag */
-	void *		nt_tmd;
-	void *		nt_lreserved;
-	void *		nt_hreserved;
+	void *		nt_lreserved;	/* original IOCB pointer */
 	uint64_t	nt_wwn;		/* source (wwn) */
 	uint64_t	nt_tgt;		/* destination (wwn) */
 	uint64_t	nt_tagval;	/* tag value */
 	lun_id_t	nt_lun;		/* logical unit */
-	uint32_t
-			nt_sid		: 24;	/* source port id */
-	uint32_t
-			nt_failed	: 1,	/* notify operation failed */
-			nt_need_ack	: 1,	/* this notify needs an ACK */
-			nt_did		: 24;	/* destination port id */
+	uint32_t	nt_sid : 24;	/* source port id */
+	uint32_t	nt_did : 24;	/* destination port id */
 	uint16_t	nt_nphdl;	/* n-port handle */
 	uint8_t		nt_channel;	/* channel id */
+	uint8_t		nt_need_ack;	/* this notify needs an ACK */
 	isp_ncode_t	nt_ncode;	/* action */
 } isp_notify_t;
-#define MATCH_TMD(tmd, iid, lun, tag)                   \
-    (                                                   \
-        (tmd) &&                                        \
-        (iid == INI_ANY || iid == tmd->cd_iid) &&       \
-        (lun == LUN_ANY || lun == tmd->cd_lun) &&       \
-        (tag == TAG_ANY || tag == tmd->cd_tagval)       \
-    )
+
 /*
  * Debug macros
  */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703291614.v2TGEXAt059485>