The .driver_data member of the struct pci_device_id array were
initialized by a list expressions to zero without making use of that
value. In this case it's better to not specify a value at all and let
the compiler fill in the zeros. Same for the list terminator that can
better be completely empty.
This patch doesn't introduce changes to the compiled array.
Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Reviewed-by: Breno Leitao <leitao@debian.org>
Acked-by: Alexandra Winter <wintera@linux.ibm.com>
Link: https://patch.msgid.link/20260522153010.777081-2-u.kleine-koenig@baylibre.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
#define DRV_NAME "ism"
static const struct pci_device_id ism_device_table[] = {
- { PCI_VDEVICE(IBM, PCI_DEVICE_ID_IBM_ISM), 0 },
- { 0, }
+ { PCI_VDEVICE(IBM, PCI_DEVICE_ID_IBM_ISM) },
+ { }
};
MODULE_DEVICE_TABLE(pci, ism_device_table);