summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorDave Hansen <dave.hansen@linux.intel.com>2026-09-28 08:36:00 -0700
committerDave Hansen <dave.hansen@linux.intel.com>2026-09-28 08:42:58 -0700
commitd48b2d347105436365280a3697a265aa4d37e96c (patch)
treec1b5fd5ec280a9b15f04cab5984dc4f1f3a1c4eb /scripts/patch-kernel
parentc9fc85f1e44e4e933c7e6702b100b9505715f6a8 (diff)
downloadlinux-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 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions