From patchwork Mon Jan 27 22:10:37 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeremy Dean X-Patchwork-Id: 13951768 Received: from sonic317-27.consmr.mail.bf2.yahoo.com (sonic317-27.consmr.mail.bf2.yahoo.com [74.6.129.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 54D081B4F0C for ; Mon, 27 Jan 2025 22:11:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.6.129.82 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738015891; cv=none; b=m2u8jFjqgvovZhxJjWuY/3mShHgzUeCptRq+ZrRACM0P/2Fs81N8fM7d1ZIVsbIJFL0toIU6YZZuB9r+psnPXTUOAitHz9qxtl7G7avyi+jbRc/CAmsZDg6zAsgRgTR88J1C50vT5JrJ1G4JHpWmJeWnpx0HZocpWEcA9vlTZaw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738015891; c=relaxed/simple; bh=CBOHhSyFqzQd8/OpQEQo6urg2FsWsjl3H7Ft1+T5+Lg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:References; b=KftP7eX8R5bcntYbu/D6e5yGhylH3k1hv/vqSK7clGKTbF4mfgcsu4ppzS3Kq3C9omJFQnHwlcrjrt29ZCplDmrA9/zGoEYTEtsxofcNWnU5j/5TeswvyFUIkdiHJ6TYsuOx2nsMiXa0z5yuBxXAb75QJiGtwswrZMEnn+tlHhs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=yahoo.com; spf=pass smtp.mailfrom=yahoo.com; dkim=pass (2048-bit key) header.d=yahoo.com header.i=@yahoo.com header.b=JVQwXayB; arc=none smtp.client-ip=74.6.129.82 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=yahoo.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=yahoo.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=yahoo.com header.i=@yahoo.com header.b="JVQwXayB" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1738015889; bh=Il6HVX7bFBftH1cuTeC6ivhLQHYS8wHuABBCTP5CJAE=; h=From:To:Cc:Subject:Date:References:From:Subject:Reply-To; b=JVQwXayBDILxVYQ3TX6ucxlGhxFQQk8Q3oL6HhTLHzMoUK4QM9U+DS6yArOMuDXBedQ9EW+cJ79kjK9x85yzeXAVj4PqZwwdnanpfmF3FB6PnnKsLpGY0w1LslntEn5a7BB/5knHjuosIfZ2TB5IlFkElIPmRAlI+4Fbv0fkLt5wruOYVHD/OPkbezCq/Mk7+6hUEmyGTF+xovgIb2T2E7iDqBU+pX1qtRe7gB0C5DwdQcg8IUFM7qwlC/lzx+tmPK+azYJ0ST32Ec3UdxyHasoHrZPL4kUyF0m7vjb2jYPbTUDF7D71508If47Fu2NTBo6UciC2bn9RJEYaMr5Q0A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1738015889; bh=yZ8/8LZo9Lvu8aE8Cv4oKfIhlsOXmde/FyFYdOf84DD=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=mm/dNFcOMWZkOLmnYfSEK+vwRxZY3SthM6w5/A0AFdqDUSr0ADcPjsJ7uwDhqOi97xM0Wc2t9cm//WHI6eLGwL9fLcYx5/iIsQOK9siHxJfXtmEu5StUk/7mLicdObU4nPf0/LVNu5iFduh3884Wk5YpXaDG+qd/1vpjCyT40Yf0lsVxpNBIhUfGS5yVks1javKHzHFav7BNyA4sg/1jbZR/mzIbfHbYlktj5kya2zv6W8z976J61y28IVBgg13gAo6n2OtolIffYB+5hakJyP2E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ZKyGfCpzi4iv2XyHmU2FRrH4aU2D 7I0iSV0NVi0TEpXllNMWRvNWe.TLXdvP2jRvQcsYSypqjCxy.WDj_3aaMi_RkygoE7rzJF.G99ia yyxz7ANTHiPZUg9lDWLVpPqMtYkOJJzYrumxT5wLtOyloCJLCgCpmeranelGODwXpNBRE1KjWIol HS8qmeFt1DOZtLXxRP36v9v.IrUIZscpFWWou X-Sonic-MF: X-Sonic-ID: d41b19b2-7aff-48b5-8b4e-6c9b9f3efd8b Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.bf2.yahoo.com with HTTP; Mon, 27 Jan 2025 22:11:29 +0000 Received: by hermes--production-ir2-c694d79d9-d879w (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID ed331bd1b501c76ea5c16f45057da5f0; Mon, 27 Jan 2025 22:11:26 +0000 (UTC) From: deaner92@yahoo.com To: Cc: luiz.dentz@gmail.com, marcel@holtmann.org, linux-bluetooth@vger.kernel.org, markus.elfring@web.de, patchwork-bot@kernel.org, Jeremy Clifton Subject: [PATCH] Bluetooth: Remove unnecessary braces around single line statement Date: Mon, 27 Jan 2025 23:10:37 +0100 Message-ID: <20250127221052.197899-2-deaner92@yahoo.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20250127221052.197899-2-deaner92.ref@yahoo.com> From: Jeremy Clifton Warning found with checkpatch.pl script. Remove unnecessary braces. Signed-off-by: Jeremy Clifton --- drivers/bluetooth/bfusb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/bluetooth/bfusb.c b/drivers/bluetooth/bfusb.c index cab93935cc7f..0d6ad50da046 100644 --- a/drivers/bluetooth/bfusb.c +++ b/drivers/bluetooth/bfusb.c @@ -365,9 +365,8 @@ static void bfusb_rx_complete(struct urb *urb) buf += 3; } - if (count < len) { + if (count < len) bt_dev_err(data->hdev, "block extends over URB buffer ranges"); - } if ((hdr & 0xe1) == 0xc1) bfusb_recv_block(data, hdr, buf, len);