Remove more of the mptutil unused code
Sponsored by: Gandi.net
This commit is contained in:
parent
5114c60e8a
commit
08a1f267fa
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/mpsutil/; revision=290096
@ -141,37 +141,4 @@ mps_read_ioc_page(int fd, U8 PageNumber, U16 *IOCStatus)
|
||||
|
||||
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__ */
|
||||
|
Loading…
Reference in New Issue
Block a user