drm/i915/guc: Clean up zero initializers
Just use a simple {} to zero initialize arrays/structs instead of the hodgepodge of stuff we are using currently. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20231012122442.15718-4-ville.syrjala@linux.intel.com Reviewed-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
parent
7f403caabe
commit
d3110f0758
@ -1101,8 +1101,8 @@ guc_capture_create_prealloc_nodes(struct intel_guc *guc)
|
||||
static int
|
||||
guc_capture_extract_reglists(struct intel_guc *guc, struct __guc_capture_bufstate *buf)
|
||||
{
|
||||
struct guc_state_capture_group_header_t ghdr = {0};
|
||||
struct guc_state_capture_header_t hdr = {0};
|
||||
struct guc_state_capture_group_header_t ghdr = {};
|
||||
struct guc_state_capture_header_t hdr = {};
|
||||
struct __guc_capture_parsed_output *node = NULL;
|
||||
struct guc_mmio_reg *regs = NULL;
|
||||
int i, numlists, numregs, ret = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user