Re: [PATCH 10/17] tty: hso: don't initialize global serial_table
From: Jakub Kicinski
Date: Tue Nov 21 2023 - 17:30:16 EST
On Tue, 21 Nov 2023 10:22:51 +0100 Jiri Slaby (SUSE) wrote:
> 'serial_table' is global, so there is no need to initialize it to NULLs
> at the module load. Drop this unneeded for loop.
>
> Signed-off-by: Jiri Slaby (SUSE) <jirislaby@xxxxxxxxxx>
> Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
> Cc: Eric Dumazet <edumazet@xxxxxxxxxx>
> Cc: Jakub Kicinski <kuba@xxxxxxxxxx>
Acked-by: Jakub Kicinski <kuba@xxxxxxxxxx>