diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-11-24 03:50:20 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-29 00:04:04 +0100 |
commit | 93a3b607e6eff7880959149a581d90c71887eb19 (patch) | |
tree | 64078dd70c71256ad56e38737715587a94863d82 /drivers/net/wireless/libertas/wext.c | |
parent | drivers/net/r6040: fix obvious problems (but more remain) (diff) | |
download | linux-93a3b607e6eff7880959149a581d90c71887eb19.tar.xz linux-93a3b607e6eff7880959149a581d90c71887eb19.zip |
wireless: checkpatch cleanups
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/wireless/libertas/wext.c')
-rw-r--r-- | drivers/net/wireless/libertas/wext.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/wireless/libertas/wext.c b/drivers/net/wireless/libertas/wext.c index 4ef5b9e00c77..19c2873d2d78 100644 --- a/drivers/net/wireless/libertas/wext.c +++ b/drivers/net/wireless/libertas/wext.c @@ -32,10 +32,8 @@ static inline void libertas_postpone_association_work(wlan_private *priv) static inline void libertas_cancel_association_work(wlan_private *priv) { cancel_delayed_work(&priv->assoc_work); - if (priv->adapter->pending_assoc_req) { - kfree(priv->adapter->pending_assoc_req); - priv->adapter->pending_assoc_req = NULL; - } + kfree(priv->adapter->pending_assoc_req); + priv->adapter->pending_assoc_req = NULL; } |