]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
serial: sc16is7xx: remove unnecessary pointer cast
authorHugo Villeneuve <hvilleneuve@dimonoff.com>
Mon, 27 Oct 2025 14:29:46 +0000 (10:29 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Oct 2025 14:25:41 +0000 (15:25 +0100)
commitaed482b53a866ecb5b46f8936462048584cf9b37
tree8a17217eb50f96272a68b5df280b375a569eb03d
parentbc20238ac5189683b5b941dc9276ead9ee86ef43
serial: sc16is7xx: remove unnecessary pointer cast

There is no need to cast from a void * pointer, so remove this cast.

Also remove empty line inavertently added in commit d5078509c8b0
("serial: sc16is7xx: improve do/while loop in sc16is7xx_irq()") and
change variables order to follow reversed xmas tree.

Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Link: https://patch.msgid.link/20251027142957.1032073-5-hugo@hugovil.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sc16is7xx.c