mmc: sdio_uart: remove meaningless BUG_ON
authorShawn Lin <shawn.lin@rock-chips.com>
Wed, 2 Nov 2016 07:26:25 +0000 (15:26 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 5 Dec 2016 09:31:12 +0000 (10:31 +0100)
commit8664dccf3adb1ca3bddf5ddd11e44a0c033cad63
treef0b7924fbfa4e551022fa8d793c52526384ed7ee
parent6ff897ff5c62cd0454af39734408fcec8c4cf3f3
mmc: sdio_uart: remove meaningless BUG_ON

The code seems quite simple to maintain the sdio_uart_table,
and the insert/remove port from the table are symmetric. If
the BUG_ON occurs, which means serial_core modify the index
or mess up the port sequence anyway.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/card/sdio_uart.c