summaryrefslogtreecommitdiffstats
path: root/drivers/net/wimax/i2400m/rx.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-02-04 19:22:29 +0100
committerDavid S. Miller <davem@davemloft.net>2013-02-06 20:58:52 +0100
commitefc496eb317ce46755acc46172daa0992b184ed0 (patch)
tree56feb1368d82d38b793c51e83b7a0586b048a089 /drivers/net/wimax/i2400m/rx.c
parentnet: core: Remove unnecessary alloc/OOM messages (diff)
downloadlinux-efc496eb317ce46755acc46172daa0992b184ed0.tar.xz
linux-efc496eb317ce46755acc46172daa0992b184ed0.zip
drivers: net: misc: Remove unused OOM variables
commits 9d11bd159 ("wimax: Remove unnecessary alloc/OOM messages, alloc cleanups") and b2adaca92 ("ethernet: Remove unnecessary alloc/OOM messages, alloc cleanups") added a couple of unused variable warnings. Remove the now unused variables. Noticed-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wimax/i2400m/rx.c')
-rw-r--r--drivers/net/wimax/i2400m/rx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wimax/i2400m/rx.c b/drivers/net/wimax/i2400m/rx.c
index 8077e6e35939..0b602951ff6b 100644
--- a/drivers/net/wimax/i2400m/rx.c
+++ b/drivers/net/wimax/i2400m/rx.c
@@ -1346,7 +1346,6 @@ EXPORT_SYMBOL(i2400m_unknown_barker);
int i2400m_rx_setup(struct i2400m *i2400m)
{
int result = 0;
- struct device *dev = i2400m_dev(i2400m);
i2400m->rx_reorder = i2400m_rx_reorder_disabled? 0 : 1;
if (i2400m->rx_reorder) {