]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
watchdog: sc1200: Drop unused assignment of pnp_device_id driver data
authorUwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Wed, 10 Jun 2026 08:48:22 +0000 (10:48 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 10 Jun 2026 13:09:45 +0000 (06:09 -0700)
commit54c726fbb53341a2553bf234d519d0cb22a2ce3d
tree227519780798af07447d39c7ef0fdd388ffda0ac
parenta298c7302ee9584a7a1ac1e8acbede8d98ab51a4
watchdog: sc1200: Drop unused assignment of pnp_device_id driver data

The driver explicitly sets the .driver_data member of struct
pnp_device_id to zero without relying on that value. Drop this unused
assignments.

While touching this array simplify the list terminator.

This patch doesn't modify the compiled array, only its representation in
source form benefits. The former was confirmed with builds on x86 and
arm64.

Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Link: https://lore.kernel.org/r/0793f81a854f9e5880ad38f54c8583b3d56e5d60.1781081216.git.u.kleine-koenig@baylibre.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/watchdog/sc1200wdt.c