diff options
| author | Dave Hansen <dave.hansen@linux.intel.com> | 2026-09-28 08:36:00 -0700 |
|---|---|---|
| committer | Dave Hansen <dave.hansen@linux.intel.com> | 2026-09-28 08:42:58 -0700 |
| commit | d48b2d347105436365280a3697a265aa4d37e96c (patch) | |
| tree | c1b5fd5ec280a9b15f04cab5984dc4f1f3a1c4eb /include/linux/debugobjects.h | |
| parent | c9fc85f1e44e4e933c7e6702b100b9505715f6a8 (diff) | |
| download | linux-next-d48b2d347105436365280a3697a265aa4d37e96c.tar.gz linux-next-d48b2d347105436365280a3697a265aa4d37e96c.zip | |
virt: tdx-guest: Remove unused and confusing function argument
The tsm_report_ops->report_new() function takes a void* argument for
implementations to use. But, TDX does not use the argument. It
relies entirely on the 'struct tsm_report'.
Despite that, the TDX code passes 'data' around needlessly from
tdx_report_new()=>tdx_report_new_locked() where it is completely
unused and ignored.
This is not just a cleanup or bike-shedding rename. The variable is a
real liability because there are 'quote_data' variables and even a
tdx_quote_buf->data[] that can get literally referred to as "data".
Remove the unused argument.
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
