Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp5046734ybi; Sat, 20 Jul 2019 11:41:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqxyXfjNiYUd+BBv2836644JZ8VIvNxJgwuNiGaMNvH0RcdzRDpspPHowO8S2Yc3IpQuJyEo X-Received: by 2002:a63:b346:: with SMTP id x6mr61351125pgt.218.1563648073905; Sat, 20 Jul 2019 11:41:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563648073; cv=none; d=google.com; s=arc-20160816; b=ueHRx0LasFdQCebvsq6hC9+FIVlodjTAn9k9OiMogg3/988Lxb0v/KCJkDnCCyOe2N kJsGPwqUeQ64SEQTwCMfUzI+M5PCQIwxFFAtwnO8lMof3K1iWjnhbXnfRE5e7iGBD6on vtKEJwGv0izJooC2Ak9T+UnPVD/oUbwXshTEQeEW/4nkP9FLQxSiSzZyvrvrjjHAQgAa W/jNDtFDRhzWDGn3QZdLPcEUWX8CualVuBORhTpYKXix2f/HuQzfZTxVbgwoJ22k8uiy YxzgMqRwBKpMYiYkm5i49GWa9CJtSEfvc1qMe/d7yUQ/xhwMMLQ3PLtSmXLQw2p7KLz+ oc9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:to:from:date:dkim-signature; bh=v9WJAAUd0FYraGl+snmlWnmJuO7F9Zl0Mgve+vMvnZA=; b=a4CzEP4Lh/xxTlMfwx3yfTHAd7revWR79gW9gjV3xXvvTMqFPMqeghL3qtWPfd/Y/q QC0YUIXRbwkFz+l3AAU5XjvB5g5VFtd4NPx5orMPpfP60atSyY2sCIUHQ0eN6H5dXQJY 2gKJlIwmV7GqVHvj+KVHLJcC+wGWFqH9UC3dQ4vPDC/NhpjblJtb91BVt3HrzLTnQhvs WGmcH6h/bHOY971RzpQLPfhcOufZ6oGnd93U9zoz4hLfVPkcnjuZVzv+s+q4vSSmYvzX Xl/DpTCGQ2wIGSkwJViu8AXTGVKXeLtIZbBABKfwLOGuuDfS3bQzlWZ3SYug8J+Hlb4I vn+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hpOUYI75; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f4si5956004pgu.194.2019.07.20.11.40.58; Sat, 20 Jul 2019 11:41:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hpOUYI75; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727450AbfGTJls (ORCPT + 99 others); Sat, 20 Jul 2019 05:41:48 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:33990 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727330AbfGTJls (ORCPT ); Sat, 20 Jul 2019 05:41:48 -0400 Received: by mail-pl1-f194.google.com with SMTP id i2so16816214plt.1 for ; Sat, 20 Jul 2019 02:41:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=v9WJAAUd0FYraGl+snmlWnmJuO7F9Zl0Mgve+vMvnZA=; b=hpOUYI75Ff0kT6f5LWZckHorQyUE/qBZQk05mz8fM9KFggOf0aX+0BotFS6YgyIVV1 WkI3UVqsFE2v7UswouCjImkLB12z/GjYvCA3ytZ9ShybxPMcl3PFS/BZItRetj9IKitb xJCRzXYjc4J35MXy9LnLmzBu94cGYHYHadVZXJm2Jp5DL36Le7McpDmV2w53q+LFxggp N4Hcq88Zx35vUSA1vxwAGQKVBFRbJXpcheHBhRJTs2iCUaihWJ2E/jaRftkyBU/Nb/TQ g+Nu7UwIOa3tW6w6ffGZl8TbMKap+nPagwCjFjSaMoT5JGHZFhoUdKIllXQ9xGrNvOtV hPeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:user-agent; bh=v9WJAAUd0FYraGl+snmlWnmJuO7F9Zl0Mgve+vMvnZA=; b=iT2E8LCboYTdYR7xAFXdo1DeISROMpqUpxzTgCvpMkOkmAPmYhvlZLIdJ1kNpoK3KX cVc85NGC73Z/4CbYA6uevdg172BR7pnFodFWs8Wnr0celyKjwgx2vl8Yb9yuytM7Du1s F9NEuYXr4gs/s0NU+tqMcMQlT6hmxkrZZH/zcm58YmsUTzh1XtDk63CqXUJw+j5uwKPF B1b4Sa0QMZDBU1U1nb/+LWiJP4cTgjfK2kOLOFl1J/ZYu1rhPOJ2zd0FP4USbAvYsYv4 PpqM8GKQHRteulTSpYqSZFiALpSYJpbSRnUm/iXCLBXoclO6p8Kk9NfKXr2PD5b38k7L 5mRw== X-Gm-Message-State: APjAAAX2WpXxb86ikqz5sf0wsTl/SzJt9p0mMzASZBSfGPCOo5OZiQ2m s6gry88gy8yQKe5mY+JA89Q= X-Received: by 2002:a17:902:112c:: with SMTP id d41mr52291700pla.33.1563615707072; Sat, 20 Jul 2019 02:41:47 -0700 (PDT) Received: from hari-Inspiron-1545 ([183.83.86.126]) by smtp.gmail.com with ESMTPSA id j5sm28233886pgp.59.2019.07.20.02.41.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 20 Jul 2019 02:41:46 -0700 (PDT) Date: Sat, 20 Jul 2019 15:11:38 +0530 From: Hariprasad Kelam To: Rex Zhu , Evan Quan , Alex Deucher , Christian =?iso-8859-1?Q?K=F6nig?= , "David (ChunMing) Zhou" , David Airlie , Daniel Vetter , Huang Rui , Chengming Gui , "Gustavo A. R. Silva" , hersen wu , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm/amd/powerplay: Remove multiple occurrence of asic_setup Message-ID: <20190720094138.GA14101@hari-Inspiron-1545> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org fix below issue reported by coccicheck drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c:1306:52-53: asic_setup: first occurrence line 1309, second occurrence line 1337 Signed-off-by: Hariprasad Kelam --- drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c index e32ae9d..c29f527 100644 --- a/drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c @@ -1306,7 +1306,6 @@ static int smu10_set_power_profile_mode(struct pp_hwmgr *hwmgr, long *input, uin static const struct pp_hwmgr_func smu10_hwmgr_funcs = { .backend_init = smu10_hwmgr_backend_init, .backend_fini = smu10_hwmgr_backend_fini, - .asic_setup = NULL, .apply_state_adjust_rules = smu10_apply_state_adjust_rules, .force_dpm_level = smu10_dpm_force_dpm_level, .get_power_state_size = smu10_get_power_state_size, -- 2.7.4