mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
Bluetooth: Remove private device name of Marvell SDIO driver
For some reason the btmrvl_device struct has a name field that the SDIO fills in, but then never ever uses again. That is totally pointless and so just remove it. Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:
parent
9666fb356d
commit
60dee5ccd7
2 changed files with 0 additions and 5 deletions
|
@ -24,7 +24,6 @@
|
||||||
#include <net/bluetooth/bluetooth.h>
|
#include <net/bluetooth/bluetooth.h>
|
||||||
|
|
||||||
#define BTM_HEADER_LEN 4
|
#define BTM_HEADER_LEN 4
|
||||||
#define BTM_DEV_NAME_LEN 32
|
|
||||||
#define BTM_UPLD_SIZE 2312
|
#define BTM_UPLD_SIZE 2312
|
||||||
|
|
||||||
/* Time to wait until Host Sleep state change in millisecond */
|
/* Time to wait until Host Sleep state change in millisecond */
|
||||||
|
@ -39,7 +38,6 @@ struct btmrvl_thread {
|
||||||
};
|
};
|
||||||
|
|
||||||
struct btmrvl_device {
|
struct btmrvl_device {
|
||||||
char name[BTM_DEV_NAME_LEN];
|
|
||||||
void *card;
|
void *card;
|
||||||
struct hci_dev *hcidev;
|
struct hci_dev *hcidev;
|
||||||
|
|
||||||
|
|
|
@ -1020,9 +1020,6 @@ static int btmrvl_sdio_probe(struct sdio_func *func,
|
||||||
priv->hw_host_to_card = btmrvl_sdio_host_to_card;
|
priv->hw_host_to_card = btmrvl_sdio_host_to_card;
|
||||||
priv->hw_wakeup_firmware = btmrvl_sdio_wakeup_fw;
|
priv->hw_wakeup_firmware = btmrvl_sdio_wakeup_fw;
|
||||||
|
|
||||||
strncpy(priv->btmrvl_dev.name, "btmrvl_sdio0",
|
|
||||||
sizeof(priv->btmrvl_dev.name));
|
|
||||||
|
|
||||||
btmrvl_send_module_cfg_cmd(priv, MODULE_BRINGUP_REQ);
|
btmrvl_send_module_cfg_cmd(priv, MODULE_BRINGUP_REQ);
|
||||||
|
|
||||||
BT_DBG("Leave");
|
BT_DBG("Leave");
|
||||||
|
|
Loading…
Reference in a new issue