mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
intel/perf: remove unnused argument from xe_perf_stream_read_error
Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30142>
This commit is contained in:
parent
6e16e92532
commit
d6a379f7a7
1 changed files with 2 additions and 2 deletions
|
|
@ -291,7 +291,7 @@ xe_perf_stream_set_metrics_id(int perf_stream_fd, int drm_fd,
|
|||
}
|
||||
|
||||
static int
|
||||
xe_perf_stream_read_error(int perf_stream_fd, uint8_t *buffer, size_t buffer_len)
|
||||
xe_perf_stream_read_error(int perf_stream_fd, uint8_t *buffer)
|
||||
{
|
||||
struct drm_xe_oa_stream_status status = {};
|
||||
struct intel_perf_record_header *header;
|
||||
|
|
@ -341,7 +341,7 @@ xe_perf_stream_read_samples(struct intel_perf_config *perf_config, int perf_stre
|
|||
|
||||
if (len <= 0) {
|
||||
if (errno == EIO)
|
||||
return xe_perf_stream_read_error(perf_stream_fd, buffer, buffer_len);
|
||||
return xe_perf_stream_read_error(perf_stream_fd, buffer);
|
||||
|
||||
return len < 0 ? -errno : 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue