mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +00:00
s390/hypfs: remove unused info_blk_hdr__pcpus() function
Remove unused info_blk_hdr__pcpus() function: arch/s390/hypfs/hypfs_diag.c:71:21: error: unused function 'info_blk_hdr__pcpus' [-Werror,-Wunused-function] Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
This commit is contained in:
parent
a78c2e31f6
commit
12a6c2c182
@ -68,14 +68,6 @@ static inline __u8 info_blk_hdr__flags(enum diag204_format type, void *hdr)
|
||||
return ((struct diag204_x_info_blk_hdr *)hdr)->flags;
|
||||
}
|
||||
|
||||
static inline __u16 info_blk_hdr__pcpus(enum diag204_format type, void *hdr)
|
||||
{
|
||||
if (type == DIAG204_INFO_SIMPLE)
|
||||
return ((struct diag204_info_blk_hdr *)hdr)->phys_cpus;
|
||||
else /* DIAG204_INFO_EXT */
|
||||
return ((struct diag204_x_info_blk_hdr *)hdr)->phys_cpus;
|
||||
}
|
||||
|
||||
/* Partition header */
|
||||
|
||||
static inline int part_hdr__size(enum diag204_format type)
|
||||
|
Loading…
Reference in New Issue
Block a user