]> git.baikalelectronics.ru Git - kernel.git/commit
ath5k: drop useless comparison
authorBob Copeland <me@bobcopeland.com>
Fri, 22 Aug 2014 13:18:00 +0000 (09:18 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 28 Aug 2014 18:41:56 +0000 (14:41 -0400)
commit7f4d0305315b54a52f0dbe96844d195b4afdb27b
tree6725437768d7352b12293ee1eac4c825cdbb73e2
parentac06daa21a2a7dd9deab6917a660c8832cbbefa7
ath5k: drop useless comparison

rxs->rate_idx is unsigned, so it will always be >= 0.
Found by Coverity.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/base.c