OSDN Git Service

staging: r8188eu: Remove code depending on NAT25_LOOKUP
authorFabio M. De Francesco <fmdefrancesco@gmail.com>
Tue, 17 Aug 2021 18:57:23 +0000 (20:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Aug 2021 08:09:38 +0000 (10:09 +0200)
commit08c63a33f34186e0e818cd625efe4f6efab03a5b
tree245d6256867a2dfbce5c72323944b279e1a296da
parentcbfa6f33e3a685c329d78e06b0cf1dcb23c9d849
staging: r8188eu: Remove code depending on NAT25_LOOKUP

Remove all the code related to the management of the NAT25_LOOKUP
method in nat25_db_handle(). The only function that used that method was
the now deleted nat25_handle_frame(). Remove the NAT25_LOOKUP entry from
the NAT25_METHOD enum because it is not anymore used everywhere else in
the code of the driver.

Remove the 'sender' pointer to integer. Remove
__nat25_db_network_lookup_and_replace(). Following the deletion of the
code related to the NAT25_LOOKUP method, they are no more needed.

Signed-off-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
Link: https://lore.kernel.org/r/20210817185723.15192-1-fmdefrancesco@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_br_ext.c
drivers/staging/r8188eu/include/rtw_br_ext.h