]> git.baikalelectronics.ru Git - kernel.git/commit
lan743x: clean up software_isr function
authorSven Van Asbroeck <thesven73@gmail.com>
Mon, 23 Nov 2020 19:15:28 +0000 (14:15 -0500)
committerJakub Kicinski <kuba@kernel.org>
Wed, 25 Nov 2020 00:14:04 +0000 (16:14 -0800)
commit9d3ca9c6134206c986d837731a0ad6636fe09072
tree5be93804a038513d23a148e11efc73f31f0efa31
parentcab6b018d77795dd811be7967036880504da2437
lan743x: clean up software_isr function

For no apparent reason, this function reads the INT_STS register, and
checks if the software interrupt bit is set. These things have already
been carried out by this function's only caller.

Clean up by removing the redundant code.

Tested-by: Sven Van Asbroeck <thesven73@gmail.com> # lan7430
Signed-off-by: Sven Van Asbroeck <thesven73@gmail.com>
Link: https://lore.kernel.org/r/20201123191529.14908-1-TheSven73@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/microchip/lan743x_main.c