Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F104104597
D44659.id137224.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D44659.id137224.diff
View Options
diff --git a/sys/dev/nvme/nvme.h b/sys/dev/nvme/nvme.h
--- a/sys/dev/nvme/nvme.h
+++ b/sys/dev/nvme/nvme.h
@@ -2241,23 +2241,6 @@
#endif
}
-static inline
-void intel_log_temp_stats_swapbytes(struct intel_log_temp_stats *s __unused)
-{
-#if _BYTE_ORDER != _LITTLE_ENDIAN
-
- s->current = le64toh(s->current);
- s->overtemp_flag_last = le64toh(s->overtemp_flag_last);
- s->overtemp_flag_life = le64toh(s->overtemp_flag_life);
- s->max_temp = le64toh(s->max_temp);
- s->min_temp = le64toh(s->min_temp);
- /* omit _rsvd[] */
- s->max_oper_temp = le64toh(s->max_oper_temp);
- s->min_oper_temp = le64toh(s->min_oper_temp);
- s->est_offset = le64toh(s->est_offset);
-#endif
-}
-
static inline
void nvme_resv_status_swapbytes(struct nvme_resv_status *s __unused,
size_t size __unused)
diff --git a/sys/dev/nvme/nvme_ctrlr.c b/sys/dev/nvme/nvme_ctrlr.c
--- a/sys/dev/nvme/nvme_ctrlr.c
+++ b/sys/dev/nvme/nvme_ctrlr.c
@@ -718,10 +718,6 @@
nvme_sanitize_status_page_swapbytes(
(struct nvme_sanitize_status_page *)aer->log_page_buffer);
break;
- case INTEL_LOG_TEMP_STATS:
- intel_log_temp_stats_swapbytes(
- (struct intel_log_temp_stats *)aer->log_page_buffer);
- break;
default:
break;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Dec 4, 2:54 PM (6 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15025989
Default Alt Text
D44659.id137224.diff (1 KB)
Attached To
Mode
D44659: nvme: Eliminate intel_log_temp_stats_swapbytes
Attached
Detach File
Event Timeline
Log In to Comment