]> git.baikalelectronics.ru Git - kernel.git/commit
p54: remove dead branch in op_conf_tx callback
authorChristian Lamparter <chunkeey@gmail.com>
Sat, 15 Jun 2019 10:00:09 +0000 (12:00 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 25 Jun 2019 05:09:41 +0000 (08:09 +0300)
commitfbbf623bf7ce6c80ac0f3d479c9b8a68a439c2c4
tree24e85337a2d3bec4dd649e4d5ae0c7f34da8fcde
parentfe8988dc737b548c363243a6b09b1562a6292a37
p54: remove dead branch in op_conf_tx callback

This patch removes the error branch for (queue > dev->queues).
It is no longer needed anymore as the "queue" value is validated by
cfg80211's parse_txq_params() before the driver code gets called.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/intersil/p54/main.c