From: Marc Kleine-Budde <m...@pengutronix.de> Date: Fri, 8 Dec 2017 12:18:59 +0100
> The first and only parameter of sl_alloc() is unused, so remove it. > > Fixes: 5342b77c4123 slip: ("Clean up create and destroy") > Signed-off-by: Marc Kleine-Budde <m...@pengutronix.de> Applied. While reviewing this I noticed that slip_devs[], along with the arbitrary slip_maxdev limit, can be removed and replaced with a simply linked list. All the array is used for it proper teardown during module unload. This is made even more clear by the fact that the index stored in dev->base_addr is never ever used.