Search Linux Wireless

Re: [PATCH] b43: use bcma_pmu_spuravoid_pllupdate()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Hauke,

On Fri, Mar 22, 2013 at 4:11 AM, Hauke Mehrtens <hauke@xxxxxxxxxx> wrote:
> Do not implement this in b43, but use bcma_pmu_spuravoid_pllupdate().
>
> Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx>
> ---
>  drivers/net/wireless/b43/phy_n.c |   92 ++++++++------------------------------
>  1 file changed, 18 insertions(+), 74 deletions(-)
>
> diff --git a/drivers/net/wireless/b43/phy_n.c b/drivers/net/wireless/b43/phy_n.c
> index 3c35382..4130c04 100644
> --- a/drivers/net/wireless/b43/phy_n.c
> +++ b/drivers/net/wireless/b43/phy_n.c
> @@ -5220,19 +5150,33 @@ static void b43_nphy_channel_setup(struct b43_wldev *dev,
>
>         if (dev->phy.rev >= 3 &&
>             dev->phy.n->spur_avoid != B43_SPUR_AVOID_DISABLE) {
> -               bool avoid = false;
> +               struct bcma_drv_cc __maybe_unused *cc;

Could this go inside the #ifdef in the switch statement - that way the
__maybe_unused should be unnecessary?

> +               int avoid = 0;

I though that bools were converted to ints exactly as you've converted
the avoid variable here.

Thanks,

-- 
Julian Calaby

Email: julian.calaby@xxxxxxxxx
Profile: http://www.google.com/profiles/julian.calaby/
.Plan: http://sites.google.com/site/juliancalaby/
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux