Linux IEEE 802.15.4 and 6LoWPAN development
 help / color / mirror / Atom feed
From: Varka Bhadram <varkabhadram@gmail.com>
To: Alexander Aring <alex.aring@gmail.com>, linux-wpan@vger.kernel.org
Cc: kernel@pengutronix.de, Varka Bhadram <varkab@cdac.in>
Subject: Re: [PATCH bluetooth-next 1/8] mac802154: remove unneeded vif struct
Date: Sun, 07 Jun 2015 08:06:24 +0530	[thread overview]
Message-ID: <5573AE28.6060803@gmail.com> (raw)
In-Reply-To: <1433604653-9585-2-git-send-email-alex.aring@gmail.com>

Hi,

On Saturday 06 June 2015 09:00 PM, Alexander Aring wrote:

> This patch removes the virtual interface structure from sub if data
> struct, because it isn't used anywhere. This structure could be useful
> for give per interface information at softmac driver layer. Nevertheless
> there exist no use case currently and it contains the interface type
> information currently. This information is also stored inside wpan dev
> which is now used to check on the wpan dev interface type.
>
> Cc: Varka Bhadram <varkab@cdac.in>
> Signed-off-by: Alexander Aring <alex.aring@gmail.com>
> ---
>   drivers/net/ieee802154/at86rf230.c | 1 -
>   drivers/net/ieee802154/cc2520.c    | 1 -
>   include/net/mac802154.h            | 8 --------
>   net/mac802154/ieee802154_i.h       | 2 --
>   net/mac802154/iface.c              | 9 ++++-----
>   net/mac802154/rx.c                 | 4 ++--
>   6 files changed, 6 insertions(+), 19 deletions(-)
>
> diff --git a/drivers/net/ieee802154/at86rf230.c b/drivers/net/ieee802154/at86rf230.c
> index 2f25a5e..6e20e9c 100644
> --- a/drivers/net/ieee802154/at86rf230.c
> +++ b/drivers/net/ieee802154/at86rf230.c
> @@ -1602,7 +1602,6 @@ static int at86rf230_probe(struct spi_device *spi)
>   	lp->spi = spi;
>   	lp->slp_tr = slp_tr;
>   	hw->parent = &spi->dev;
> -	hw->vif_data_size = sizeof(*lp);
>   	ieee802154_random_extended_addr(&hw->phy->perm_extended_addr);
>   
>   	lp->regmap = devm_regmap_init_spi(spi, &at86rf230_regmap_spi_config);
> diff --git a/drivers/net/ieee802154/cc2520.c b/drivers/net/ieee802154/cc2520.c
> index 8141353..a8bafd6 100644
> --- a/drivers/net/ieee802154/cc2520.c
> +++ b/drivers/net/ieee802154/cc2520.c
> @@ -742,7 +742,6 @@ static int cc2520_register(struct cc2520_private *priv)
>   	priv->hw->priv = priv;
>   	priv->hw->parent = &priv->spi->dev;
>   	priv->hw->extra_tx_headroom = 0;
> -	priv->hw->vif_data_size = sizeof(*priv);
>   	ieee802154_random_extended_addr(&priv->hw->phy->perm_extended_addr);
>   

Acked-by: Varka Bhadram <varkabhadram@gmail.com>

Thanks.

-- 
Varka Bhadram.


  reply	other threads:[~2015-06-07  2:36 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-06 15:30 [PATCH bluetooth-next 0/8] mac802154: several cleanups Alexander Aring
2015-06-06 15:30 ` [PATCH bluetooth-next 1/8] mac802154: remove unneeded vif struct Alexander Aring
2015-06-07  2:36   ` Varka Bhadram [this message]
2015-06-06 15:30 ` [PATCH bluetooth-next 2/8] mac802154: cleanup address filtering flags Alexander Aring
2015-06-06 15:30 ` [PATCH bluetooth-next 3/8] mac802154: remove aack hw flag Alexander Aring
2015-06-06 19:49   ` Stefan Schmidt
2015-06-07  2:46   ` Varka Bhadram
2015-06-06 15:30 ` [PATCH bluetooth-next 4/8] mac802154: cleanup ieee802154 hardware flags Alexander Aring
2015-06-06 15:30 ` [PATCH bluetooth-next 5/8] mac802154: remove unused hw_filt attribute Alexander Aring
2015-06-06 15:30 ` [PATCH bluetooth-next 6/8] mac802154: rearrange attribute in ieee802154_hw Alexander Aring
2015-06-06 15:30 ` [PATCH bluetooth-next 7/8] mac802154: add missing structure comments Alexander Aring
2015-06-06 15:30 ` [PATCH bluetooth-next 8/8] mac802154: change pan_coord type to bool Alexander Aring
2015-06-07  3:23 ` [PATCH bluetooth-next 0/8] mac802154: several cleanups Varka Bhadram
2015-06-07  7:15 ` Marcel Holtmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5573AE28.6060803@gmail.com \
    --to=varkabhadram@gmail.com \
    --cc=alex.aring@gmail.com \
    --cc=kernel@pengutronix.de \
    --cc=linux-wpan@vger.kernel.org \
    --cc=varkab@cdac.in \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox