Re: [PATCH] iwlagn: iwl-agn-rs: remove unnecessary null check forsta and lq_sta

From: Guy, Wey-Yi
Date: Wed Sep 28 2011 - 19:05:54 EST


On Wed, 2011-09-28 at 15:54 -0700, Gregory.Dietsche@xxxxxxx wrote:
> From: Greg Dietsche <Gregory.Dietsche@xxxxxxx>
>
> both sta and lq_sta are guaranteed to be not null in the
> calling function so we don't need to check them here.
>
> Signed-off-by: Greg Dietsche <Gregory.Dietsche@xxxxxxx>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@xxxxxxxxx>
> ---
> drivers/net/wireless/iwlwifi/iwl-agn-rs.c | 3 ---
> 1 files changed, 0 insertions(+), 3 deletions(-)
>
you are correct

Wey

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/