]> www.infradead.org Git - users/jedix/linux-maple.git/commit
pds_core: init viftype default in declaration
authorShannon Nelson <shannon.nelson@amd.com>
Fri, 25 Apr 2025 20:46:18 +0000 (13:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Apr 2025 11:55:59 +0000 (12:55 +0100)
commit6828208a45c1839e94a87500e0721618d03783e7
tree8957235b628105a9251d200140ae80b136b6fdb4
parent7c4f4c4fa9b6fbb7e483bebd02f7b9cbc20ca5cc
pds_core: init viftype default in declaration

Initialize the .enabled field of the FWCTL viftype default in
the declaration rather than as a bit of code as it is always
to be enabled and needs no logic around it.

Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/pds_core/core.c