]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
serial: 8250: use hashtable
authorJiri Slaby (SUSE) <jirislaby@kernel.org>
Wed, 11 Jun 2025 10:03:18 +0000 (12:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jun 2025 11:42:36 +0000 (13:42 +0200)
commit0a6fb2dc930ab396ece99ef5add46b4d75df4dbf
tree19eeadf5c4dcf4928922d8cca9cb2ccb93882acb
parent6529c88f6bfedaa5bc2354eb448771d884798877
serial: 8250: use hashtable

Instead of open-coding the hash table, use the one provided by
hashtable.h. The semantics is the same, except the code needs not to
compute the hash bucket on its own.

Signed-off-by: "Jiri Slaby (SUSE)" <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20250611100319.186924-33-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_core.c