Skip to content

Commit dd912f4

Browse files
Colin Ian Kingholtmann
authored andcommitted
Bluetooth: btmrvl: remove redundant continue statement
The continue statement in the for-loop has no effect, remove it. Addresses-Coverity: ("Continue has no effect") Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
1 parent c9ed0a7 commit dd912f4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

drivers/bluetooth/btmrvl_sdio.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1461,9 +1461,7 @@ static void btmrvl_sdio_coredump(struct device *dev)
14611461
BT_ERR("Allocated buffer not enough");
14621462
}
14631463

1464-
if (stat != RDWR_STATUS_DONE) {
1465-
continue;
1466-
} else {
1464+
if (stat == RDWR_STATUS_DONE) {
14671465
BT_INFO("%s done: size=0x%tx",
14681466
entry->mem_name,
14691467
dbg_ptr - entry->mem_ptr);

0 commit comments

Comments
 (0)