Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Oct 2015 11:28:46 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r290096 - projects/mpsutil/usr.sbin/mpsutil
Message-ID:  <201510281128.t9SBSkxo031094@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Wed Oct 28 11:28:46 2015
New Revision: 290096
URL: https://svnweb.freebsd.org/changeset/base/290096

Log:
  Remove more of the mptutil unused code
  
  Sponsored by:	Gandi.net

Modified:
  projects/mpsutil/usr.sbin/mpsutil/mpsutil.h

Modified: projects/mpsutil/usr.sbin/mpsutil/mpsutil.h
==============================================================================
--- projects/mpsutil/usr.sbin/mpsutil/mpsutil.h	Wed Oct 28 11:25:28 2015	(r290095)
+++ projects/mpsutil/usr.sbin/mpsutil/mpsutil.h	Wed Oct 28 11:28:46 2015	(r290096)
@@ -141,37 +141,4 @@ mps_read_ioc_page(int fd, U8 PageNumber,
 
 MPI2_IOC_FACTS_REPLY * mps_get_iocfacts(int fd);
 
-#if 0
-static __inline U32
-mpt_vol_pageaddr(U8 VolumeBus, U8 VolumeID)
-{
-
-	return (VolumeBus << 8 | VolumeID);
-}
-
-static __inline CONFIG_PAGE_RAID_VOL_0 *
-mpt_vol_info(int fd, U8 VolumeBus, U8 VolumeID, U16 *IOCStatus)
-{
-
-	return (mpt_read_config_page(fd, MPI_CONFIG_PAGETYPE_RAID_VOLUME, 0,
-	    mpt_vol_pageaddr(VolumeBus, VolumeID), IOCStatus));
-}
-
-static __inline CONFIG_PAGE_RAID_VOL_1 *
-mpt_vol_names(int fd, U8 VolumeBus, U8 VolumeID, U16 *IOCStatus)
-{
-
-	return (mpt_read_config_page(fd, MPI_CONFIG_PAGETYPE_RAID_VOLUME, 1,
-	    mpt_vol_pageaddr(VolumeBus, VolumeID), IOCStatus));
-}
-
-static __inline CONFIG_PAGE_RAID_PHYS_DISK_0 *
-mpt_pd_info(int fd, U8 PhysDiskNum, U16 *IOCStatus)
-{
-
-	return (mpt_read_config_page(fd, MPI_CONFIG_PAGETYPE_RAID_PHYSDISK, 0,
-	    PhysDiskNum, IOCStatus));
-}
-#endif
-
 #endif /* !__MPTUTIL_H__ */



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