Commit 60dee5ccd789ee8a380eee802b6cb24c52123428
1 parent
9666fb356d
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>
Showing 2 changed files with 0 additions and 5 deletions Side-by-side Diff
drivers/bluetooth/btmrvl_drv.h
... | ... | @@ -24,7 +24,6 @@ |
24 | 24 | #include <net/bluetooth/bluetooth.h> |
25 | 25 | |
26 | 26 | #define BTM_HEADER_LEN 4 |
27 | -#define BTM_DEV_NAME_LEN 32 | |
28 | 27 | #define BTM_UPLD_SIZE 2312 |
29 | 28 | |
30 | 29 | /* Time to wait until Host Sleep state change in millisecond */ |
... | ... | @@ -39,7 +38,6 @@ |
39 | 38 | }; |
40 | 39 | |
41 | 40 | struct btmrvl_device { |
42 | - char name[BTM_DEV_NAME_LEN]; | |
43 | 41 | void *card; |
44 | 42 | struct hci_dev *hcidev; |
45 | 43 |
drivers/bluetooth/btmrvl_sdio.c
... | ... | @@ -1020,9 +1020,6 @@ |
1020 | 1020 | priv->hw_host_to_card = btmrvl_sdio_host_to_card; |
1021 | 1021 | priv->hw_wakeup_firmware = btmrvl_sdio_wakeup_fw; |
1022 | 1022 | |
1023 | - strncpy(priv->btmrvl_dev.name, "btmrvl_sdio0", | |
1024 | - sizeof(priv->btmrvl_dev.name)); | |
1025 | - | |
1026 | 1023 | btmrvl_send_module_cfg_cmd(priv, MODULE_BRINGUP_REQ); |
1027 | 1024 | |
1028 | 1025 | BT_DBG("Leave"); |