浏览代码

Bluetooth: remove unneeded var initialization in btmrvl

There is no need to init ret to zero in  btmrvl_sdio_download_fw().

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Gustavo Padovan 12 年之前
父节点
当前提交
faff7f74d2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/bluetooth/btmrvl_sdio.c

+ 1 - 1
drivers/bluetooth/btmrvl_sdio.c

@@ -874,7 +874,7 @@ exit:
 
 static int btmrvl_sdio_download_fw(struct btmrvl_sdio_card *card)
 {
-	int ret = 0;
+	int ret;
 	u8 fws0;
 	int pollnum = MAX_POLL_TRIES;