diff options
author | Philipp Hortmann <philipp.g.hortmann@gmail.com> | 2023-07-29 10:53:03 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-07-30 13:29:05 +0300 |
commit | 206e69b6363ddcfc67c6f6fe66446580c8b125ab (patch) | |
tree | bcc7d8e6a4d6aa2e3067116a5265ad0fe21cfc47 /drivers/staging/rtl8192e/rtllib_rx.c | |
parent | 37a207d8411bd5b86f6453b5b78449872003e719 (diff) | |
download | linux-206e69b6363ddcfc67c6f6fe66446580c8b125ab.tar.xz |
staging: rtl8192e: Remove empty function rtllib_rx_Mesh()
Function rtllib_rx_Mesh() returns always 0. Variable ret is already
initialized with 0. Remove dead code.
Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/7c1aee16a95cd52149faf80c83b6fa19d6499913.1690615475.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192e/rtllib_rx.c')
-rw-r--r-- | drivers/staging/rtl8192e/rtllib_rx.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/staging/rtl8192e/rtllib_rx.c b/drivers/staging/rtl8192e/rtllib_rx.c index b9d220b015f6..8a4029f26835 100644 --- a/drivers/staging/rtl8192e/rtllib_rx.c +++ b/drivers/staging/rtl8192e/rtllib_rx.c @@ -1473,12 +1473,6 @@ static int rtllib_rx_Monitor(struct rtllib_device *ieee, struct sk_buff *skb, return 1; } -static int rtllib_rx_Mesh(struct rtllib_device *ieee, struct sk_buff *skb, - struct rtllib_rx_stats *rx_stats) -{ - return 0; -} - /* All received frames are sent to this function. @skb contains the frame in * IEEE 802.11 format, i.e., in the format it was sent over air. * This function is called only as a tasklet (software IRQ). @@ -1509,7 +1503,6 @@ int rtllib_rx(struct rtllib_device *ieee, struct sk_buff *skb, ret = rtllib_rx_Monitor(ieee, skb, rx_stats); break; case IW_MODE_MESH: - ret = rtllib_rx_Mesh(ieee, skb, rx_stats); break; default: netdev_info(ieee->dev, "%s: ERR iw mode!!!\n", __func__); |