]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
serial: jsm: Drop unused driver_data assigment and redundant zeros
authorUwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Tue, 5 May 2026 08:47:49 +0000 (10:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 May 2026 14:56:03 +0000 (16:56 +0200)
commit88af183a135ccdd004bdeebf4e0c99383b530a66
tree81856e5a2847e5eb3272d890bc4bcac374ded642
parent44e55f1f3088e4a471a943fbcf087ea7783a0199
serial: jsm: Drop unused driver_data assigment and redundant zeros

The driver doesn't use the driver_data field, so drop the assigment
together with the then redundant zero assigment for .class and
.class_mask. Also drop the zero in the list terminator.

While at it also use PCI_VDEVICE() to allow dropping "PCI_VENDOR_ID_".

Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Link: https://patch.msgid.link/20260505084749.2304121-2-u.kleine-koenig@baylibre.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/jsm/jsm_driver.c