aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth
diff options
context:
space:
mode:
authorprasanna karthik <prasannakarthik@outlook.com>2017-03-28 19:44:00 +0000
committerMarcel Holtmann <marcel@holtmann.org>2017-04-12 22:02:39 +0200
commitf1554b7b2c27cedee6c772dab954629987690110 (patch)
treece1779e989749f3e77a17ba30be38108114bb44a /drivers/bluetooth
parent6lowpan: fix assignment of peer_addr (diff)
downloadlinux-dev-f1554b7b2c27cedee6c772dab954629987690110.tar.xz
linux-dev-f1554b7b2c27cedee6c772dab954629987690110.zip
Bluetooth: btmrvl: cleanup code in return from btmrvl_sdio_suspend()
Else is not generally useful after a break or return Signed-off-by: Prasanna Karthik <pkarthik@outlook.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth')
-rw-r--r--drivers/bluetooth/btmrvl_sdio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/bluetooth/btmrvl_sdio.c b/drivers/bluetooth/btmrvl_sdio.c
index e65ca19970ea..2424ea2685a7 100644
--- a/drivers/bluetooth/btmrvl_sdio.c
+++ b/drivers/bluetooth/btmrvl_sdio.c
@@ -1642,10 +1642,10 @@ static int btmrvl_sdio_suspend(struct device *dev)
if (priv->adapter->hs_state == HS_ACTIVATED) {
BT_DBG("suspend with MMC_PM_KEEP_POWER");
return sdio_set_host_pm_flags(func, MMC_PM_KEEP_POWER);
- } else {
- BT_DBG("suspend without MMC_PM_KEEP_POWER");
- return 0;
}
+
+ BT_DBG("suspend without MMC_PM_KEEP_POWER");
+ return 0;
}
static int btmrvl_sdio_resume(struct device *dev)