Commit abb40c11 authored by Rashika Kheria's avatar Rashika Kheria Committed by Greg Kroah-Hartman

Staging: gdm724x: Remove confusing macro gdm_lte_hci_send in gdm_lte.c

This patch removes confusing macro gdm_lte_hci_send as stated in TODO list
in file gdm_lte.c. It then fixes the place where the macro is used.
Signed-off-by: default avatarRashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: default avatarRusty Russell <rusty@rustcorp.com.au>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 04db9c6a
...@@ -44,9 +44,6 @@ ...@@ -44,9 +44,6 @@
*/ */
#define DEFAULT_MTU_SIZE 1500 #define DEFAULT_MTU_SIZE 1500
#define gdm_lte_hci_send(n, d, l) (\
n->phy_dev->send_hci_func(n->phy_dev->priv_dev, d, l, NULL, NULL))
#define gdm_lte_sdu_send(n, d, l, c, b, i, t) (\ #define gdm_lte_sdu_send(n, d, l, c, b, i, t) (\
n->phy_dev->send_sdu_func(n->phy_dev->priv_dev, d, l, n->pdn_table.dft_eps_id, 0, c, b, i, t)) n->phy_dev->send_sdu_func(n->phy_dev->priv_dev, d, l, n->pdn_table.dft_eps_id, 0, c, b, i, t))
...@@ -507,7 +504,8 @@ static void gdm_lte_event_rcv(struct net_device *dev, u16 type, void *msg, int l ...@@ -507,7 +504,8 @@ static void gdm_lte_event_rcv(struct net_device *dev, u16 type, void *msg, int l
{ {
struct nic *nic = netdev_priv(dev); struct nic *nic = netdev_priv(dev);
gdm_lte_hci_send(nic, msg, len); nic->phy_dev->send_hci_func(nic->phy_dev->priv_dev, msg, len, NULL,
NULL);
} }
int gdm_lte_event_init(void) int gdm_lte_event_init(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment