Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp3276811pxx; Mon, 2 Nov 2020 04:59:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJw7wITvWRDrWvXjG1aO0A6rpJ+ySbqhdlurvosFHqh9s9buU2pklEHVvLi9o4qqVa9N8kE7 X-Received: by 2002:a17:906:1945:: with SMTP id b5mr5479980eje.388.1604321967973; Mon, 02 Nov 2020 04:59:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604321967; cv=none; d=google.com; s=arc-20160816; b=iablG5zGQnRPujQttx7spGmD/p/ertz/oOlOhGjK8L7Fp6FdLs2JNpH1g58siTrRot E/jHL3zCbv5YBZJLFN1HgyFglcnZyIY2biFynK1qQq2jNPBS0QptW6ccAJJ8glx9r6Bn 0qTuWStafOl3uP0Q9jllsPvc9rYwgJD4++HPCKvutkF4iA1rFFpGGrFj86X0NtPei0wB lm4I5oL0mqG8tYEYhiRLXwFFJGo1P8lldF1x4aCSyUfg67th+qVf9+Olkwxr6KHbvMd9 x1T7t7UqQyAIm7b8oHdHNVYooldPPDfPKK0lyeVVdmOj+CLUGfkUec03tMMXi475/mAz 6J7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=wm+x/MiWphfgbVXrZqzqsQEAnlejV9XNrQjopIdR4Kw=; b=VKYBCZ7PvvOeBxmIVqOleRDbCAwF3OTJhU4QvBLHjWtGoh/0M+bgRISpfF2Qr4INVj JIKgj2go4aYiOeX18zc1BW0wE46vY0BIKkTb9m2RDtJmC8wi/bD1qPIDcI7+7V52Cpx8 d+b4OlAZZrhRKmYgn6fwVYPSz/NCjKi2244TNtp19bskwOCURjaYwSqb422mLU/24bGZ /HdI2U7zrGcUgCHOvvMy0yDvOwiTQWrroEM2L5113ftmSKQGM8MrsVdSr3BPScyqRi9Y LGHtj5/6NeLkVLDWF4DqQOdw8z4jHdk+D0U39rgzC5QnClsNluQZVyMKrkLW2FlBBbS7 jETA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qc1si10465119ejb.315.2020.11.02.04.59.04; Mon, 02 Nov 2020 04:59:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728579AbgKBM53 (ORCPT + 99 others); Mon, 2 Nov 2020 07:57:29 -0500 Received: from mail-m17613.qiye.163.com ([59.111.176.13]:3747 "EHLO mail-m17613.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728288AbgKBM50 (ORCPT ); Mon, 2 Nov 2020 07:57:26 -0500 Received: from ubuntu.localdomain (unknown [58.213.83.156]) by mail-m17613.qiye.163.com (Hmail) with ESMTPA id 0842F482F28; Mon, 2 Nov 2020 20:50:36 +0800 (CST) From: Bernard Zhao To: Rob Clark , Sean Paul , David Airlie , Daniel Vetter , Drew Davenport , Bernard Zhao , Zheng Bin , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org Cc: opensource.kernel@vivo.com Subject: [PATCH] drm/msm: delete conversion from bool value to bool return Date: Mon, 2 Nov 2020 04:50:28 -0800 Message-Id: <20201102125030.6209-1-bernard@vivo.com> X-Mailer: git-send-email 2.29.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgYFAkeWUFZS1VLWVdZKFlBSE83V1ktWUFJV1kPCR oVCBIfWUFZHUMaTxoZSR1OQxlNVkpNS09ISUpPSE1IS09VEwETFhoSFyQUDg9ZV1kWGg8SFR0UWU FZT0tIVUpKS0hKQ1VLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6PRA6Egw4PT8qCRoCFyE*NCID NjUKFEpVSlVKTUtPSElKT0hNTUNNVTMWGhIXVRkeCRUaCR87DRINFFUYFBZFWVdZEgtZQVlOQ1VJ SkhVQ0hVSk5NWVdZCAFZQUlKS0M3Bg++ X-HM-Tid: 0a758902623c93bakuws0842f482f28 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Delete the conversion from bool value to bool function return. Signed-off-by: Bernard Zhao --- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c index 8493d68ad841..411222f4cd6f 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c @@ -37,7 +37,7 @@ static bool dpu_encoder_phys_cmd_is_master(struct dpu_encoder_phys *phys_enc) { - return (phys_enc->split_role != ENC_ROLE_SLAVE) ? true : false; + return (phys_enc->split_role != ENC_ROLE_SLAVE); } static bool dpu_encoder_phys_cmd_mode_fixup( -- 2.29.0