Bluetooth: btmtk: Dont workout the filename twice.
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 Bluetooth: btmtk: Dont workout the filename twice.
Introduced in cd2f22b64f0038302760cab1543b9bb1696bf968
The new function btmtk_fw_get_filename is used to get the filename but the old code to workout the filename was left inplace.
Signed-off-by Alistair Leslie-Hughes <[email protected]>
--- drivers/bluetooth/btmtksdio.c | 3 --- 1 file changed, 3 deletions(-)
drivers/bluetooth/btmtksdio.c +0 -3
@@ -1120,9 +1120,6 @@ static int btmtksdio_setup(struct hci_dev *hdev)btmtk_fw_get_filename (fwname,sizeof (fwname), dev_id, fw_version,0 ); -snprintf (fwname,sizeof (fwname), -"mediatek/BT_RAM_CODE_MT%04x_1_%x_hdr.bin" , - dev_id &0xffff , (fw_version &0xff ) +1 ); err =mt79xx_setup (hdev, fwname);if (err <0 )return err;
Signature · 1 line
2.43.0