From: David Lechner Date: Sun, 3 Dec 2017 03:01:58 +0000 (-0600) Subject: Bluetooth: hci_ll: remove \n from kernel messages X-Git-Tag: v4.19~1702^2~331^2~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=059fb8230732d101950ae1d435238d78545cf46b;p=platform%2Fkernel%2Flinux-rpi3.git Bluetooth: hci_ll: remove \n from kernel messages The bt_* printk macros include a \n already, so we don't need extra ones here. Signed-off-by: David Lechner Signed-off-by: Marcel Holtmann --- diff --git a/drivers/bluetooth/hci_ll.c b/drivers/bluetooth/hci_ll.c index e2c078d..ce0dd2f 100644 --- a/drivers/bluetooth/hci_ll.c +++ b/drivers/bluetooth/hci_ll.c @@ -628,11 +628,11 @@ static int download_firmware(struct ll_device *lldev) break; } if (cmd->prefix != 1) - bt_dev_dbg(lldev->hu.hdev, "command type %d\n", cmd->prefix); + bt_dev_dbg(lldev->hu.hdev, "command type %d", cmd->prefix); skb = __hci_cmd_sync(lldev->hu.hdev, cmd->opcode, cmd->plen, &cmd->speed, HCI_INIT_TIMEOUT); if (IS_ERR(skb)) { - bt_dev_err(lldev->hu.hdev, "send command failed\n"); + bt_dev_err(lldev->hu.hdev, "send command failed"); err = PTR_ERR(skb); goto out_rel_fw; }