}
        }
 
-       /* use the neighbour cache for matching addresses assigned by SLAAC
-       */
+       /* use the neighbour cache for matching addresses assigned by SLAAC */
        neigh = __ipv6_neigh_lookup(dev->netdev, nexthop);
        if (neigh) {
                list_for_each_entry_rcu(peer, &dev->peers, list) {
 
        struct hci_dev *hdev = file->private_data;
        char buf[3];
 
-       buf[0] = hci_dev_test_flag(hdev, HCI_USE_DEBUG_KEYS) ? 'Y': 'N';
+       buf[0] = hci_dev_test_flag(hdev, HCI_USE_DEBUG_KEYS) ? 'Y' : 'N';
        buf[1] = '\n';
        buf[2] = '\0';
        return simple_read_from_buffer(user_buf, count, ppos, buf, 2);
        struct hci_dev *hdev = file->private_data;
        char buf[3];
 
-       buf[0] = hci_dev_test_flag(hdev, HCI_SC_ONLY) ? 'Y': 'N';
+       buf[0] = hci_dev_test_flag(hdev, HCI_SC_ONLY) ? 'Y' : 'N';
        buf[1] = '\n';
        buf[2] = '\0';
        return simple_read_from_buffer(user_buf, count, ppos, buf, 2);
        struct hci_dev *hdev = file->private_data;
        char buf[3];
 
-       buf[0] = hdev->ssp_debug_mode ? 'Y': 'N';
+       buf[0] = hdev->ssp_debug_mode ? 'Y' : 'N';
        buf[1] = '\n';
        buf[2] = '\0';
        return simple_read_from_buffer(user_buf, count, ppos, buf, 2);
        struct hci_dev *hdev = file->private_data;
        char buf[3];
 
-       buf[0] = hci_dev_test_flag(hdev, HCI_FORCE_STATIC_ADDR) ? 'Y': 'N';
+       buf[0] = hci_dev_test_flag(hdev, HCI_FORCE_STATIC_ADDR) ? 'Y' : 'N';
        buf[1] = '\n';
        buf[2] = '\0';
        return simple_read_from_buffer(user_buf, count, ppos, buf, 2);
 
 {
        u8 scan_rsp_len = 0;
 
-       if (hdev->appearance) {
+       if (hdev->appearance)
                scan_rsp_len = append_appearance(hdev, ptr, scan_rsp_len);
-       }
 
        return append_local_name(hdev, ptr, scan_rsp_len);
 }
 
        instance_flags = adv_instance->flags;
 
-       if ((instance_flags & MGMT_ADV_FLAG_APPEARANCE) && hdev->appearance) {
+       if ((instance_flags & MGMT_ADV_FLAG_APPEARANCE) && hdev->appearance)
                scan_rsp_len = append_appearance(hdev, ptr, scan_rsp_len);
-       }
 
        memcpy(&ptr[scan_rsp_len], adv_instance->scan_rsp_data,
               adv_instance->scan_rsp_len);
 
        if (test_bit(CONF_NOT_COMPLETE, &chan->conf_state))
                return;
 
-       switch(chan->mode) {
+       switch (chan->mode) {
        case L2CAP_MODE_BASIC:
                break;
 
        return conn;
 }
 
-static bool is_valid_psm(u16 psm, u8 dst_type) {
+static bool is_valid_psm(u16 psm, u8 dst_type)
+{
        if (!psm)
                return false;