From: Uwe Kleine-König (The Capable Hub) Date: Fri, 22 May 2026 15:30:09 +0000 (+0200) Subject: s390/ism: Drop superfluous zeros in pci_device_id array X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18b9f739d3f292925ca7f67ad63f3a4c0bbfad3d;p=thirdparty%2Flinux.git s390/ism: Drop superfluous zeros in pci_device_id array 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) Reviewed-by: Breno Leitao Acked-by: Alexandra Winter Link: https://patch.msgid.link/20260522153010.777081-2-u.kleine-koenig@baylibre.com Signed-off-by: Paolo Abeni --- diff --git a/drivers/s390/net/ism_drv.c b/drivers/s390/net/ism_drv.c index 7d0479e4e0956..d99c588d3e00c 100644 --- a/drivers/s390/net/ism_drv.c +++ b/drivers/s390/net/ism_drv.c @@ -23,8 +23,8 @@ MODULE_LICENSE("GPL"); #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);