diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-06-04 07:40:39 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-06-12 14:59:34 -0400 |
commit | 15d6c07929a2efa8802b5cc9bb8c91bdf5ba219b (patch) | |
tree | 47a000ed885ae0588ff8d46e9a6d0e3e3226a2ae /drivers/net/wireless/rt2x00/rt2x00queue.c | |
parent | 568f7a438f6d5f0f0909c94e66b7c5c8b96ebf7a (diff) |
rt2x00: rt2x00queue: remove qdesc parameter of rt2x00queue_alloc_entries
The qdesc parameter is not used anymore, so remove that.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Acked-by: Stanislaw Gruszka <sgruszka@redhat.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00queue.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00queue.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00queue.c b/drivers/net/wireless/rt2x00/rt2x00queue.c index 7f938a513f3a..c12d1c8ae618 100644 --- a/drivers/net/wireless/rt2x00/rt2x00queue.c +++ b/drivers/net/wireless/rt2x00/rt2x00queue.c | |||
@@ -1161,8 +1161,7 @@ void rt2x00queue_init_queues(struct rt2x00_dev *rt2x00dev) | |||
1161 | } | 1161 | } |
1162 | } | 1162 | } |
1163 | 1163 | ||
1164 | static int rt2x00queue_alloc_entries(struct data_queue *queue, | 1164 | static int rt2x00queue_alloc_entries(struct data_queue *queue) |
1165 | const struct data_queue_desc *qdesc) | ||
1166 | { | 1165 | { |
1167 | struct queue_entry *entries; | 1166 | struct queue_entry *entries; |
1168 | unsigned int entry_size; | 1167 | unsigned int entry_size; |
@@ -1231,23 +1230,22 @@ int rt2x00queue_initialize(struct rt2x00_dev *rt2x00dev) | |||
1231 | struct data_queue *queue; | 1230 | struct data_queue *queue; |
1232 | int status; | 1231 | int status; |
1233 | 1232 | ||
1234 | status = rt2x00queue_alloc_entries(rt2x00dev->rx, rt2x00dev->ops->rx); | 1233 | status = rt2x00queue_alloc_entries(rt2x00dev->rx); |
1235 | if (status) | 1234 | if (status) |
1236 | goto exit; | 1235 | goto exit; |
1237 | 1236 | ||
1238 | tx_queue_for_each(rt2x00dev, queue) { | 1237 | tx_queue_for_each(rt2x00dev, queue) { |
1239 | status = rt2x00queue_alloc_entries(queue, rt2x00dev->ops->tx); | 1238 | status = rt2x00queue_alloc_entries(queue); |
1240 | if (status) | 1239 | if (status) |
1241 | goto exit; | 1240 | goto exit; |
1242 | } | 1241 | } |
1243 | 1242 | ||
1244 | status = rt2x00queue_alloc_entries(rt2x00dev->bcn, rt2x00dev->ops->bcn); | 1243 | status = rt2x00queue_alloc_entries(rt2x00dev->bcn); |
1245 | if (status) | 1244 | if (status) |
1246 | goto exit; | 1245 | goto exit; |
1247 | 1246 | ||
1248 | if (test_bit(REQUIRE_ATIM_QUEUE, &rt2x00dev->cap_flags)) { | 1247 | if (test_bit(REQUIRE_ATIM_QUEUE, &rt2x00dev->cap_flags)) { |
1249 | status = rt2x00queue_alloc_entries(rt2x00dev->atim, | 1248 | status = rt2x00queue_alloc_entries(rt2x00dev->atim); |
1250 | rt2x00dev->ops->atim); | ||
1251 | if (status) | 1249 | if (status) |
1252 | goto exit; | 1250 | goto exit; |
1253 | } | 1251 | } |