Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4863160imm; Mon, 14 May 2018 14:40:04 -0700 (PDT) X-Google-Smtp-Source: AB8JxZolMS66qn20o8Okuw6ekQoiDsGCTTY6JRQ/MHjZmKMUKAYeMW+CoRMjB6VacyK2mbYv5jh/ X-Received: by 2002:a63:7253:: with SMTP id c19-v6mr9959041pgn.453.1526334004696; Mon, 14 May 2018 14:40:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526334004; cv=none; d=google.com; s=arc-20160816; b=ADMlDG2REW8qxVnlxuHwm9kW8R/WvgBL3BLrWBkQ09ifPV6/vdqnlXFOGVq5l7TYPH 16UDG/mUuLZ7mcTc/cOGAMpLwiuXMGrxx2BkGRZo639rMXNghGxwOjGu/Q9aaeLzUhWu LLEtPwkp/vi1PnE53v6iRIAjywOzQNLnitKBB0+eOlNrvASeGYDChQkRzD8Dtk0fUFf4 PblXpQt1oxXIHxGToFmk1oHMXp58RhXGHpgkWxWFqxXpyYP+4r9C6ACvRjSv5gt14TAV ligXLyfOn0MutwDWHKrqhCDzQlIVxF9fllk6sNZ22VA0bKc51k3ow4rLgkhEROdGa/NB XWHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=JayXbi2FisabtCRmUpZ0ERx2mh0RasPUAQLsrFTNtXQ=; b=aC8hoOmPG8/N032wf2YQ8GoydCuSkxK7EfasOwPvgLMsAT4QMNNbZ2C271gcXSWK2m kPa8Gzzulh+40qLFmdln+R84tUHE7zW3OKkE+YCYQk0gveL8AFagYTVLB2VzcbVmMWIb 23OEC8mgIYWQYKyyJUl47Ml0fxCjnrB1n+t9Y2jKaCF3vYQMp7wGQCHb1jKVBFeLdIOI 0XmQBPyoD5aySXGAGxi+CNMwpcNPJXgpSUiZvaeZsbAnWi6np7yDCgqnx/GuTC77Jovz L1kHMAc9AamOD0kJBxy4Gx473u1OpZgm4IZhFc13EO+bXNzKJz2YP6SPUE+PwbxdfeuE HpGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=M8Rzx76J; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k1-v6si7523371pld.416.2018.05.14.14.39.49; Mon, 14 May 2018 14:40:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=M8Rzx76J; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752155AbeENVjh (ORCPT + 99 others); Mon, 14 May 2018 17:39:37 -0400 Received: from mail-oi0-f67.google.com ([209.85.218.67]:41612 "EHLO mail-oi0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751978AbeENVjf (ORCPT ); Mon, 14 May 2018 17:39:35 -0400 Received: by mail-oi0-f67.google.com with SMTP id 11-v6so12081969ois.8; Mon, 14 May 2018 14:39:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=JayXbi2FisabtCRmUpZ0ERx2mh0RasPUAQLsrFTNtXQ=; b=M8Rzx76JQKX/pRrBgCF/JnJ/AADYDMd2XrNVE8u14+nlgozTzI7omzhLDB6jWHvOVx cfnXUmjXhMNWVQO+0cgserL4B6upjiQ4wt3JJyFZ+Op4pRbzqdEhlL0JpW9jzTOHX66D rI71/8DrlntuZj96zO12DtNC14kGWwKKubLlXLUz5QKU5jUQGfpg7kxJdawvnz8/KTfg cGCe86aY4Ft1VL4T2Zg7eqzZqmMu2Sb+PXMEHWONeHmCvwBhi+h1NfvLHHoVYYMntKsb ylr4nuK0DrqU7p3s1+nSJhQcEpq1IkkvrmMFcl4EvWT1nHXW1osmKj+dIIlVxDS6fdKf bwQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=JayXbi2FisabtCRmUpZ0ERx2mh0RasPUAQLsrFTNtXQ=; b=VaRRPEudflVHuFrtVTFOaa6RQBlNBf55Pox9wO7WtRxur2otrH3BMKUeDSBaKGsxbw grn1+cSYYo5xifrm7fTlxNdSLC9rqfipdJ0xirc2YYDB4qBqqf8dulv2wFIdwnUDUHVR BVsXKdRX8S8UKYmDo9qXMVMxXeTWXStbWgCxbwLhKW0ep9Br+oUC//sHQdnUAf+aZT1n YMC/sMYWBIOkdJUCoky29tHusf6FdqLkaDiwP2C/PGdOWFEmamf/teeQqDzpfx2rLwKu vcekoFosM8L0KpWTi73VmUet9jptd4zZ3kjr18ZMZXgB8ij+doilMuAq3zhm88qqVfd6 /6rA== X-Gm-Message-State: ALKqPwevHUoXrckxdJMlH3WXhB0Apj9uUfOKCxe0HjB7Q1iO2gX9MsCl RrmhnFCOCcjstodrltDqb2cKl7rd X-Received: by 2002:aca:4084:: with SMTP id n126-v6mr7456476oia.205.1526333974829; Mon, 14 May 2018 14:39:34 -0700 (PDT) Received: from ubuntu.localdomain (cpe-76-185-95-177.tx.res.rr.com. [76.185.95.177]) by smtp.gmail.com with ESMTPSA id 89-v6sm6178460ote.71.2018.05.14.14.39.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 14 May 2018 14:39:33 -0700 (PDT) From: Vaibhav Murkute To: marcel@holtmann.org, johan.hedberg@gmail.com Cc: linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, Vaibhav Murkute Subject: [PATCH] drivers: bluetooth: hci_serdev: Removed unnecessary curly braces Date: Mon, 14 May 2018 14:38:47 -0700 Message-Id: <1526333927-21222-1-git-send-email-vaibhavmurkute88@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org checkpatch.pl shows a warning for these unnecessary curly braces. so just removed those curly braces. Signed-off-by: Vaibhav Murkute --- drivers/bluetooth/hci_serdev.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/bluetooth/hci_serdev.c b/drivers/bluetooth/hci_serdev.c index e0e6461..a0e9398 100644 --- a/drivers/bluetooth/hci_serdev.c +++ b/drivers/bluetooth/hci_serdev.c @@ -204,9 +204,8 @@ static int hci_uart_setup(struct hci_dev *hdev) return 0; } - if (skb->len != sizeof(*ver)) { + if (skb->len != sizeof(*ver)) bt_dev_err(hdev, "Event length mismatch for version info"); - } kfree_skb(skb); return 0; -- 2.7.4