summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorUwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>2026-05-04 12:20:14 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2026-05-15 13:08:36 +0300
commit69f93dbb40377edc4c4bf3fc67bbd63ba35fde3d (patch)
treec79b7b2e14a13631530544bdf18acd0b73efc684 /include
parent69e7b807ba7464fe9fd46bc72562cdeabe9a374c (diff)
downloadlinux-69f93dbb40377edc4c4bf3fc67bbd63ba35fde3d.tar.xz
hwrng: drivers - Drop unused assignment to pci driver_data
Explicitly assigning 0 to driver_data in drivers not using this member has no benefit. Drop these and similarly depend on the compiler to zero-initialize the list terminator. This is a preparation for making struct pci_device_id::driver_data an anonymous union (which makes initializing using a list expression fail), but it's also a nice cleanup by itself. It was verified on x86 and arm64 that this change doesn't introduce changes to the compiled drivers. Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions