Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 289CBC7EE29 for ; Tue, 23 May 2023 01:56:19 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8C7E910E306; Tue, 23 May 2023 01:56:17 +0000 (UTC) Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by gabe.freedesktop.org (Postfix) with ESMTPS id A181010E306; Tue, 23 May 2023 01:56:16 +0000 (UTC) Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34N1Sch2014661; Tue, 23 May 2023 01:56:10 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=vq8pmvsDFbvBGh3T07q+2ifxcyxuvPzPboZP8/bpshA=; b=UDA5vfA5NCHZkpS7/3xk4zXZNuoW6wZXV/3Kb4fEK4wYSXvrvV2V8epNLleNGLstBolz GnA16g5M42xIy0aM38rEJHjszNNPGEABfplyobwg5OTB/3dJ3xWrYizhlBVV+gZGC0ld hKRiDxys+jTx+eT7Ur+bQI3oUU5cheMQQvc8Mj6dA8bquI42HsZSCUr3TPPiq8higtUa Vu6lJImWQJ0vwUDTG8ZN+moi24M3wpKp2FWImjnI+p2QukIUxUsgZLPf3QYt1hwKLV5x ZDa2WkAUntvdT1rb7/aYySN854qaGD5Yd7ptgzPIyrNRyaM9Bu4DStgKbV/dW8xyOsqQ bQ== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qracsh55m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 23 May 2023 01:56:10 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 34N1u8i4024536 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 23 May 2023 01:56:08 GMT Received: from [10.110.65.90] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Mon, 22 May 2023 18:56:08 -0700 Message-ID: <8b04609f-8c80-ca84-710d-a2ba6f109cf8@quicinc.com> Date: Mon, 22 May 2023 18:56:07 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v2 7/7] drm/msm/dpu: simplify dpu_encoder_phys_wb_init() Content-Language: en-US To: Dmitry Baryshkov , Rob Clark , Sean Paul References: <20230519023855.3840907-1-dmitry.baryshkov@linaro.org> <20230519023855.3840907-8-dmitry.baryshkov@linaro.org> From: Abhinav Kumar In-Reply-To: <20230519023855.3840907-8-dmitry.baryshkov@linaro.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: oNCc7vYUimF_kpfTTQzdLRsmR1TK4pP2 X-Proofpoint-ORIG-GUID: oNCc7vYUimF_kpfTTQzdLRsmR1TK4pP2 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-05-22_18,2023-05-22_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=697 spamscore=0 malwarescore=0 phishscore=0 impostorscore=0 clxscore=1015 adultscore=0 mlxscore=0 bulkscore=0 suspectscore=0 priorityscore=1501 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305230014 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, Bjorn Andersson , dri-devel@lists.freedesktop.org, Stephen Boyd Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On 5/18/2023 7:38 PM, Dmitry Baryshkov wrote: > There is no need to assign a result to temp varable just to return it > after a goto. Drop the temporary variable and goto and return the result > directly. > > Signed-off-by: Dmitry Baryshkov > --- Reviewed-by: Abhinav Kumar