Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3116006rdh; Thu, 28 Sep 2023 03:11:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHwgxmzdXvOt+wT+qKhNosTqeVPlGW+NYpj+4T07JIaWmrSJaEJmxifjTbjDu/Fk2vc5ffi X-Received: by 2002:a67:e2cd:0:b0:452:bfe3:8941 with SMTP id i13-20020a67e2cd000000b00452bfe38941mr713181vsm.21.1695895881908; Thu, 28 Sep 2023 03:11:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695895881; cv=none; d=google.com; s=arc-20160816; b=ly3wB9V2fw40eNgA5xPouH2GA5vRdE5XVw3Bv9UljLrpQFxUO08wK19J5MR0lZ8Yiv oVoNXFB1sNo8Ft6Ht1LLNwyuknZS9PgYCKYLoZr+dRqfytUvuJrIqBTs4EIvErQf1QfS 8C6H52hiatREtjwglLOPY7m1JrPy+198j25Paw/Pd4etcepkEGOS8VycwORtGn1/eiCa kvMHsyawqtowKIq7aWi+D0E5KSDyAXD06eC5xTmoHazRBpbEbd5OPI2ljbw2lfDfiU3C He+IRthKI2YdmK5j4mhzgFXCtU0qxYO9C1+mqfx/a4ng++CxWrIkrxsgt961KUNfdY5a k1cw== 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=pgCvZQNfOSBN12mpjGXAvr8Td34hZqRLfhFhLprUWZs=; fh=KYWB11+1Gj+RpUxWEULFVqDY0rYCuwOtp5etB3gHekI=; b=pjLM1GFfeKzC5Ajy1LFtAo5QhVkyaA1tD4j4iDc1MDyxvXqmDZEmjCAX6B0J5Hve9D uXgG11MjFcs7spLauQVG+QrZ3OIG/P16+UUo3JJx4wmWMAGCbX4MzsDHqp37mtFIs0Sr 5APF1fG3VWD0WKfgp0HnGWGIWARjXLNmkdZFq0J11BqV0m1iftRyJgOrwhTrjnkjnOfd fnr7oC/uvR3wmc7K+wRFm+XqSyUsf+Htxq9faL2Mc6v+NROx3XEW5KAJROcI7Xs63+YX XdhiPk28Dx2V7+zn+UfVuxWFpz5iLoRRpI011VPCADSIdFX5ywao2fuP6KnEf3kYb+lg 8XOw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id by26-20020a056a02059a00b0056f7592d736si19960329pgb.34.2023.09.28.03.11.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 03:11:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 310E78057479; Thu, 28 Sep 2023 02:46:11 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231697AbjI1JqA (ORCPT + 99 others); Thu, 28 Sep 2023 05:46:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231371AbjI1Jp5 (ORCPT ); Thu, 28 Sep 2023 05:45:57 -0400 Received: from out30-118.freemail.mail.aliyun.com (out30-118.freemail.mail.aliyun.com [115.124.30.118]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E98712A for ; Thu, 28 Sep 2023 02:45:54 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R461e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046060;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=10;SR=0;TI=SMTPD_---0Vt19jy1_1695894342; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0Vt19jy1_1695894342) by smtp.aliyun-inc.com; Thu, 28 Sep 2023 17:45:52 +0800 From: Jiapeng Chong To: alexander.deucher@amd.com Cc: christian.koenig@amd.com, Xinhui.Pan@amd.com, airlied@gmail.com, daniel@ffwll.ch, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH] drm/radeon/kms/atom: Remove redundant code Date: Thu, 28 Sep 2023 17:45:40 +0800 Message-Id: <20230928094540.37437-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Thu, 28 Sep 2023 02:46:11 -0700 (PDT) drivers/gpu/drm/radeon/atom.c:396 atom_skip_src_int() warn: ignoring unreachable code. Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6713 Signed-off-by: Jiapeng Chong --- drivers/gpu/drm/radeon/atom.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/radeon/atom.c b/drivers/gpu/drm/radeon/atom.c index ceb6d772ef94..3082d08a06c2 100644 --- a/drivers/gpu/drm/radeon/atom.c +++ b/drivers/gpu/drm/radeon/atom.c @@ -393,7 +393,6 @@ static void atom_skip_src_int(atom_exec_context *ctx, uint8_t attr, int *ptr) (*ptr)++; return; } - return; } } -- 2.20.1.7.g153144c