linux/drivers/bluetooth
Colin Ian King 761f1e9f99 Bluetooth: remove redundant zero check on count
Variable count is never zero inside the loop so the check if count is
zero is redundant and can be removed. Fix this.

Detected by CoverityScan, CID#1466880 ("Logically dead code")

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2019-02-18 11:46:45 +01:00
..
ath3k.c Bluetooth: ath3k: add more information to error message 2018-09-28 19:27:50 +02:00
bcm203x.c
bfusb.c bluetooth: bfusb: Replace GFP_ATOMIC with GFP_KERNEL in bfusb_send_frame() 2018-07-23 18:05:00 +02:00
bluecard_cs.c bluetooth: bluecard_cs: Replace GFP_ATOMIC with GFP_KERNEL in bluecard_hci_set_baud_rate() 2018-07-23 18:05:00 +02:00
bpa10x.c bluetooth: bpa10x: Replace GFP_ATOMIC with GFP_KERNEL in bpa10x_send_frame() 2018-07-23 18:05:00 +02:00
bt3c_cs.c Bluetooth: bt3c_cs: Fix obsolete function 2018-09-27 12:57:39 +02:00
btbcm.c Bluetooth: btbcm: Add entry for BCM4329B1 UART bluetooth 2018-12-19 13:43:42 +01:00
btbcm.h
btintel.c
btintel.h
btmrvl_debugfs.c
btmrvl_drv.h Bluetooth: btmrvl: Drop unused GPIO includes 2019-01-22 09:51:20 +01:00
btmrvl_main.c
btmrvl_sdio.c Bluetooth: btmrvl: add support for sd8977 chipset 2019-01-22 09:51:20 +01:00
btmrvl_sdio.h
btmtkuart.c Bluetooth: mediatek: Fix memory leak 2018-08-21 16:56:20 +02:00
btqca.c Bluetooth: hci_qca: Add helper to set device address 2019-01-22 09:51:18 +01:00
btqca.h Bluetooth: hci_qca: Add helper to set device address 2019-01-22 09:51:18 +01:00
btqcomsmd.c
btrsi.c Bluetooth: btrsi: fix bt tx timeout issue 2018-09-27 12:53:40 +02:00
btrtl.c Bluetooth: btrtl: Restore old logic to assume firmware is already loaded 2019-01-28 13:23:59 +01:00
btrtl.h Bluetooth: btrtl: Add support for a config filename postfix 2018-08-03 13:27:46 +02:00
btsdio.c Bluetooth: btsdio: Do not bind to non-removable BCM43430 2018-10-14 10:23:47 +02:00
btusb.c Bluetooth: btusb: Add shutdown routine for BTUSB_INTEL_NEW devices 2019-01-29 16:15:29 +01:00
btwilink.c
dtl1_cs.c
h4_recv.h Bluetooth: remove redundant zero check on count 2019-02-18 11:46:45 +01:00
hci_ag6xx.c
hci_ath.c
hci_bcm.c Bluetooth: hci_bcm: Handle specific unknown packets after firmware loading 2018-12-19 13:43:42 +01:00
hci_bcsp.c
hci_h4.c Bluetooth: hci_uart: Check if socket buffer is ERR_PTR in h4_recv_buf() 2019-01-22 09:51:19 +01:00
hci_h5.c Bluetooth: hci_h5: Turn off RTL8723BS on suspend, reprobe on resume 2018-12-19 00:49:33 +01:00
hci_intel.c Bluetooth: hci_intel: clean an indentation issue, remove extraneous spaces 2018-12-19 00:46:30 +01:00
hci_ldisc.c Merge branch 'work.tty-ioctl' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2018-10-24 14:43:41 +01:00
hci_ll.c
hci_mrvl.c
hci_nokia.c bluetooth: hci_nokia: Don't include linux/unaligned/le_struct.h directly. 2018-06-17 08:38:55 +09:00
hci_qca.c Bluetooth: hci_qca: Add helper to set device address 2019-01-22 09:51:18 +01:00
hci_serdev.c Bluetooth: hci_serdev: Remove setting of HCI_QUIRK_RESET_ON_CLOSE. 2018-12-19 00:41:59 +01:00
hci_uart.h
hci_vhci.c
Kconfig Bluetooth: btmrvl: add support for sd8977 chipset 2019-01-22 09:51:20 +01:00
Makefile Bluetooth: mediatek: Add protocol support for MediaTek serial devices 2018-08-07 21:33:25 +02:00