Received: by 2002:a05:7412:8d09:b0:fa:4c10:6cad with SMTP id bj9csp618520rdb; Tue, 16 Jan 2024 10:18:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IEYt7Z6dnHefRU/MWXG4jZIPSS+Ae8MXQD9e1kxIG/M7ocySwPWTnrF+a7r1GOgFmzk1/WN X-Received: by 2002:ac8:5e4a:0:b0:429:cf4f:fab6 with SMTP id i10-20020ac85e4a000000b00429cf4ffab6mr7243122qtx.76.1705429080674; Tue, 16 Jan 2024 10:18:00 -0800 (PST) Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id g17-20020ac85d51000000b00429b94a7090si10279262qtx.596.2024.01.16.10.18.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 10:18:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-27673-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="h/sjITvh"; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-27673-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27673-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 6F85B1C23360 for ; Tue, 16 Jan 2024 18:18:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 332E21CD2F; Tue, 16 Jan 2024 18:17:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="h/sjITvh" Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176]) (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 1D77E1CD22 for ; Tue, 16 Jan 2024 18:17:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705429073; cv=none; b=uKSDriMDiTQ/EjfPvcr/cq+VpBreS3tPFSGsZ4Sk4pVJUMh7IJjzfiI+Rp0Mvyzou0dwefsC9CmOiirHAefHJbXEoVzz6ts3P3cmD5+rYWZiWMQND1EwddgPyuJcrJurP51G5GgrNAztOOWeUQTckLkGJyVTNyDaeADCAnKbbF4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705429073; c=relaxed/simple; bh=WG5lpRJP8dm+PmpXpwjviZqq8Ch1yn3VsWzLsOenLqk=; h=Received:DKIM-Signature:X-Google-DKIM-Signature: X-Gm-Message-State:X-Google-Smtp-Source:X-Received:MIME-Version: References:In-Reply-To:From:Date:Message-ID:Subject:To:Cc: Content-Type:Content-Transfer-Encoding; b=ab9BZX/1ii/9LGTn6xYKcEy07HJUrGRxrCcLXFzaj5/6nA9wBng8AJkxwybsoYW3jvB8bSv3OFbmU3lx3kUskEXizOMFQpuTXzZdNH+wQA3EnRePuaEJQ71urue1HCAPjxGG8NcahYKHnbbpn1mV1vR2Rwx+ZoEgrda8YlRCGcY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=h/sjITvh; arc=none smtp.client-ip=209.85.215.176 Received: by mail-pg1-f176.google.com with SMTP id 41be03b00d2f7-5cf1f4f6c3dso3154447a12.2 for ; Tue, 16 Jan 2024 10:17:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705429071; x=1706033871; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=PU/OUwU6Tt0/mou55ffpi9+wdwXd2SREUtllUzUBlws=; b=h/sjITvhlGyKjioanlOyU6Hv3m0xzqHfgHPmfTa5CfSyokw2E9IfsLB0qjKeI00o6m t543UGUbbXKqlYW7/WgbB0IZjqzKzikwC5BefXmI1o2BCFGLM3fZhiH2Jsb9CW6TAtjv 3PKbN7v3/GITkqSMYwC3KJyeDMH+AVRHuXY44hq8moXTWfScYwOAiulZ1Go1aU4Fu9o/ szxX78iSBZQClf1XHLKxoC/dYaQKI+Ko8+2ep8TuhFMPn3f/FIEApWr8fdKWRtU+ED6K 6i2ZMVJDak6j+or9vusFIOfAAKKf3Ka9H0DagVEIadr8+uWDh1BB8IWiGo00hDVdU4Nu zheQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705429071; x=1706033871; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PU/OUwU6Tt0/mou55ffpi9+wdwXd2SREUtllUzUBlws=; b=K4O3+6qH0einb9HW2H+fdURhX6rFsNlXPIhMu9/VjxgVoj55eXMZIAJWBkZ/89hQNF sjRKidxK0tRKUusiuuKImux/VEWbvWADmEmtIjcdZIwLmfoH6WihSvDz0IXQ5aQniI/6 ardRBqFBveyLmgqKXr1K1+50T3yWQs1YotYskIlitGUlCXZgT57xO0DOHTvNdmbKZinx XKyfwAkARE19FFbKzqVNvJjqOm9qZYysW23DB7Xtc+ziNNex24oJzmP588TQka6qxggH ZoZ3OyIoMc6qi7NZfyCljk3Xc/1Yjw7UaBSdvKeVPwmThv5aE6/g/7m+1Nsd9tE+D2aH ZLIg== X-Gm-Message-State: AOJu0YxeO1qkBvmbXgDP11z/MGmOWINTvFE551ZuigTjViwj7jHH1Nay ZCpha+nKMR5GOaV2akwnFDSulS8ASkvfXXP33ZzXOY2rZ9xgcw== X-Received: by 2002:a17:90a:f486:b0:28c:1a80:a8cf with SMTP id bx6-20020a17090af48600b0028c1a80a8cfmr3328299pjb.35.1705429071530; Tue, 16 Jan 2024 10:17:51 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240110102102.61587-1-tudor.ambarus@linaro.org> <20240110102102.61587-8-tudor.ambarus@linaro.org> In-Reply-To: <20240110102102.61587-8-tudor.ambarus@linaro.org> From: Sam Protsenko Date: Tue, 16 Jan 2024 12:17:40 -0600 Message-ID: Subject: Re: [PATCH 07/18] tty: serial: samsung: remove braces on single statement block To: Tudor Ambarus Cc: krzysztof.kozlowski@linaro.org, alim.akhtar@samsung.com, gregkh@linuxfoundation.org, jirislaby@kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, andre.draszik@linaro.org, peter.griffin@linaro.org, kernel-team@android.com, willmcvicker@google.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Jan 10, 2024 at 4:22=E2=80=AFAM Tudor Ambarus wrote: > > Braces {} are not necessary for single statement blocks. > Remove braces on single statement block. > > Signed-off-by: Tudor Ambarus > --- Reviewed-by: Sam Protsenko > drivers/tty/serial/samsung_tty.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/tty/serial/samsung_tty.c b/drivers/tty/serial/samsun= g_tty.c > index d5f9bec24b8e..11ae3a1dcdc3 100644 > --- a/drivers/tty/serial/samsung_tty.c > +++ b/drivers/tty/serial/samsung_tty.c > @@ -2062,9 +2062,8 @@ static void s3c24xx_serial_remove(struct platform_d= evice *dev) > { > struct uart_port *port =3D s3c24xx_dev_to_port(&dev->dev); > > - if (port) { > + if (port) > uart_remove_one_port(&s3c24xx_uart_drv, port); > - } > > uart_unregister_driver(&s3c24xx_uart_drv); > } > -- > 2.43.0.472.g3155946c3a-goog > >