--- old/usr/src/uts/common/io/nxge/nxge_hcall.s	Thu Nov 14 19:00:11 2019
+++ new/usr/src/uts/common/io/nxge/nxge_hcall.s	Thu Nov 14 19:00:11 2019
@@ -87,181 +87,6 @@
 #define	N2NIU_CFGH_TX_LP_GET	0x145
 #define	N2NIU_CFGH_VR_ASSIGN	0x146
 
-#if defined(lint) || defined(__lint)
-
-/*ARGSUSED*/
-uint64_t
-hv_niu_rx_logical_page_conf(uint64_t chidx, uint64_t pgidx,
-	uint64_t raddr, uint64_t size)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_niu_rx_logical_page_info(uint64_t chidx, uint64_t pgidx,
-	uint64_t *raddr, uint64_t *size)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_niu_tx_logical_page_conf(uint64_t chidx, uint64_t pgidx,
-	uint64_t raddr, uint64_t size)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_niu_tx_logical_page_info(uint64_t chidx, uint64_t pgidx,
-	uint64_t *raddr, uint64_t *size)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_niu_vr_assign(uint64_t vridx, uint64_t ldc_id, uint32_t *cookie)
-{ return (0); }
-
-/*
- * KT: Interfaces functions which require the configuration handle
- */
-/*ARGSUSED*/
-uint64_t
-hv_niu_cfgh_rx_logical_page_conf(uint64_t cfgh, uint64_t chidx, uint64_t pgidx,
-	uint64_t raddr, uint64_t size)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_niu_cfgh_rx_logical_page_info(uint64_t cfgh, uint64_t chidx, uint64_t pgidx,
-	uint64_t *raddr, uint64_t *size)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_niu_cfgh_tx_logical_page_conf(uint64_t cfgh, uint64_t chidx, uint64_t pgidx,
-	uint64_t raddr, uint64_t size)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_niu_cfgh_tx_logical_page_info(uint64_t cfgh, uint64_t chidx, uint64_t pgidx,
-	uint64_t *raddr, uint64_t *size)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_niu_cfgh_vr_assign(uint64_t cfgh, uint64_t vridx, uint64_t ldc_id, uint32_t *cookie)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_niu_vr_unassign(uint32_t cookie)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_niu_vr_getinfo(uint32_t cookie, uint64_t *real_start, uint64_t *size)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_niu_vr_get_rxmap(uint32_t cookie, uint64_t *dma_map)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_niu_vr_get_txmap(uint32_t cookie, uint64_t *dma_map)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_niu_rx_dma_assign(uint32_t cookie, uint64_t chidx, uint64_t *vchidx)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_niu_rx_dma_unassign(uint32_t cookie, uint64_t vchidx)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_niu_tx_dma_assign(uint32_t cookie, uint64_t chidx, uint64_t *vchidx)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_niu_tx_dma_unassign(uint32_t cookie, uint64_t chidx)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_niu_vrrx_logical_page_conf(uint32_t cookie, uint64_t chidx, uint64_t pgidx,
-    uint64_t raddr, uint64_t size)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_niu_vrrx_logical_page_info(uint32_t cookie, uint64_t chidx, uint64_t pgidx,
-    uint64_t *raddr, uint64_t *size)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_niu_vrtx_logical_page_conf(uint32_t cookie, uint64_t chidx, uint64_t pgidx,
-    uint64_t raddr, uint64_t size)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_niu_vrtx_logical_page_info(uint32_t cookie, uint64_t chidx, uint64_t pgidx,
-    uint64_t *raddr, uint64_t *size)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_niu_vrrx_param_get(uint32_t cookie, uint64_t vridx, uint64_t param,
-	uint64_t *value)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_niu_vrrx_param_set(uint32_t cookie, uint64_t vridx, uint64_t param,
-	uint64_t value)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_niu_vrtx_param_get(uint32_t cookie, uint64_t vridx, uint64_t param,
-	uint64_t *value)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_niu_vrtx_param_set(uint32_t cookie, uint64_t vridx, uint64_t param,
-	uint64_t value)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_niu_vrtx_getinfo(uint32_t cookie, uint64_t vridx,
-	uint64_t *group, uint64_t *logdev)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_niu_vrrx_getinfo(uint32_t cookie, uint64_t vridx,
-		uint64_t *group, uint64_t *logdev)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_niu_vrtx_set_ino(uint32_t cookie, uint64_t vridx, uint32_t ino)
-{ return (0); }
-
-/*ARGSUSED*/
-uint64_t
-hv_niu_vrrx_set_ino(uint32_t cookie, uint64_t vridx, uint32_t ino)
-{ return (0); }
-
-#else	/* lint || __lint */
-
 	/*
 	 * hv_niu_rx_logical_page_conf(uint64_t chidx, uint64_t pgidx,
 	 *	uint64_t raddr, uint64_t size)
@@ -627,6 +452,4 @@
 	stw	%o1, [%g1]
 	SET_SIZE(hv_niu_cfgh_vr_assign)
 
-#endif	/* lint || __lint */
-
 #endif /*defined(sun4v)*/
