diff options
author | Rashika Kheria <rashika.kheria@gmail.com> | 2013-11-07 20:29:23 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-11-10 12:22:34 -0800 |
commit | abb40c11c44d93d7d9d6fe42088c5cad9a852c2a (patch) | |
tree | 9cd63f396abbb7f10cb4c272ece65490669f6192 | |
parent | 04db9c6a2db7427e6046300413967bf6d6fd4b6b (diff) | |
download | linux-abb40c11c44d93d7d9d6fe42088c5cad9a852c2a.tar.gz linux-abb40c11c44d93d7d9d6fe42088c5cad9a852c2a.tar.bz2 linux-abb40c11c44d93d7d9d6fe42088c5cad9a852c2a.zip |
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: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/gdm724x/gdm_lte.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/staging/gdm724x/gdm_lte.c b/drivers/staging/gdm724x/gdm_lte.c index 5cf0f6f7f8d3..723cc270deb9 100644 --- a/drivers/staging/gdm724x/gdm_lte.c +++ b/drivers/staging/gdm724x/gdm_lte.c @@ -44,9 +44,6 @@ */ #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) (\ 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 { 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) |