aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/cmd.c
diff options
context:
space:
mode:
authorHolger Schurig <hs4233@mail.mn-solutions.de>2007-08-02 13:09:15 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:50:02 -0400
commit97605c3eb3dee943a45584be92c46be1305b3ef5 (patch)
tree23a72cd969a84ef9e12ca8e32b263c77b1e59133 /drivers/net/wireless/libertas/cmd.c
parenta783f1ee5b112a0258762877ec7c1ce8810f3cd8 (diff)
[PATCH] libertas: remove adapter->nullpktinterval
No code ever initialized this variable, so it was 0 because of kzalloc(). But no other code changes it, making it rather useless. Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/cmd.c')
-rw-r--r--drivers/net/wireless/libertas/cmd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/libertas/cmd.c b/drivers/net/wireless/libertas/cmd.c
index 72e76e4ec7a..f5d4971f13a 100644
--- a/drivers/net/wireless/libertas/cmd.c
+++ b/drivers/net/wireless/libertas/cmd.c
@@ -73,8 +73,7 @@ static int wlan_cmd_802_11_ps_mode(wlan_private * priv,
73 73
74 psm->locallisteninterval = 74 psm->locallisteninterval =
75 cpu_to_le16(adapter->locallisteninterval); 75 cpu_to_le16(adapter->locallisteninterval);
76 psm->nullpktinterval = 76 psm->nullpktinterval = 0;
77 cpu_to_le16(adapter->nullpktinterval);
78 psm->multipledtim = 77 psm->multipledtim =
79 cpu_to_le16(priv->adapter->multipledtim); 78 cpu_to_le16(priv->adapter->multipledtim);
80 break; 79 break;