MFC:
authorSascha Wildner <swildner@dragonflybsd.org>
Thu, 21 Aug 2008 12:20:39 +0000 (21 12:20 +0000)
committerSascha Wildner <swildner@dragonflybsd.org>
Thu, 21 Aug 2008 12:20:39 +0000 (21 12:20 +0000)
Remove wrong semicolon.

Found-by: LLVM/Clang Static Analyzer
sys/dev/netif/bwi/bwirf.c

index abed012..812e614 100644 (file)
@@ -31,7 +31,7 @@
  * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  * 
- * $DragonFly: src/sys/dev/netif/bwi/bwirf.c,v 1.8 2008/01/15 09:01:13 sephe Exp $
+ * $DragonFly: src/sys/dev/netif/bwi/bwirf.c,v 1.8.4.1 2008/08/21 12:20:39 swildner Exp $
  */
 
 #include <sys/param.h>
@@ -2102,7 +2102,7 @@ bwi_rf_init_hw_nrssi_table(struct bwi_mac *mac, uint16_t adjust)
                val -= adjust;
                if (val < -32)
                        val = -32;
-               else if (val > 31);
+               else if (val > 31)
                        val = 31;
 
                bwi_nrssi_write(mac, i, val);