Re: [PATCH v1] watchdog: sc1200: Drop unused assignment of pnp_device_id driver data
Guenter Roeck <[email protected]>
| Newsgroups | org.kernel.vger.linux-watchdog,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Jun 10, 2026 at 10:48:22AM +0200, Uwe Kleine-König (The Capable Hub) wrote: > 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) <[email protected]> Applied. Thanks, Guenter