Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3859526pxk; Tue, 22 Sep 2020 04:41:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw/F0ZLLFjsWKTsdStR1AMDYlRdlkDqXTWozmfj1dxd0eZGL9smRDynNLmhvpvpXVzET1ob X-Received: by 2002:aa7:d382:: with SMTP id x2mr3513779edq.108.1600774877650; Tue, 22 Sep 2020 04:41:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600774877; cv=none; d=google.com; s=arc-20160816; b=Ix1aoHhVHuLQu0w8GIlVZo6rJRnGHqx8P3pqgIUhEzuWuetckklCC3+vOrUXjNA2Yq UTVkuJOzb/Hof8K5vCADP9d3nRMcv8+PCCuJvAGb8PEX6LKd0KhWjtTUJkI3hJW1o3Uj lR/qpQltB/KSAJat7NmEvipq1Zc/A53gYZkgzlBfKiO7r6WH+EWqydoj0E/iDJk9Y2XN 4ofh3R1HJkfA4KKiD65MSIUVg2HD99YAoEIJBvVgxSvw7TXyy1RDxcIK1m0737ILE89X caXXNEGCnxcSvLNpf+qPNw5jxXFbSo4mEX7Nn4AMyW/alm7PJJ0+JzU+jf5+z0fggWcC 7uHg== 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=AhqwXNLGQMvxaLUKk4OhxVMBS+pX5ZcLcNdEMJ+wmI4=; b=l3BPWReDsgZouUs6ydujDB3JrSAXb+7PCH2YMMB/bHtZPdirHDGVyzVX1RbJvQCNGk /sALJxjeYTRuXKRFGV0Rs+h24BsOwfkzmKXQ2ErOUvkagl9APkhmdctbhIWfHbvveb7g 0KKyYhLM7qNn1QxReRYYzmlD7zMo+KP6rlyAJBaEqbWaBBxbIF1M+W/9z0OHWd2xd2xQ Qh2rIZGgHBedzMPO/QSXlZNYAJCZ9bO1zyJONCzt6HsEdto6HkacXHO2l+FVHmFjYTfF 4fUCMYIDa/ECEXWxfVkSzgGFqfvzPPv1vbGn791jlWNFQm8tYN3TFZMsiV20mzXIOtbS V1EQ== 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 b7si3706106edq.91.2020.09.22.04.40.54; Tue, 22 Sep 2020 04:41:17 -0700 (PDT) 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 S1726586AbgIVLjf (ORCPT + 99 others); Tue, 22 Sep 2020 07:39:35 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:14210 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726454AbgIVLj3 (ORCPT ); Tue, 22 Sep 2020 07:39:29 -0400 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 8BB2694415709ABAFF86; Tue, 22 Sep 2020 19:39:28 +0800 (CST) Received: from huawei.com (10.175.104.57) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.487.0; Tue, 22 Sep 2020 19:39:25 +0800 From: Li Heng To: , , CC: , Subject: [PATCH -next] drm/v3d: Remove set but not used variable Date: Tue, 22 Sep 2020 19:39:24 +0800 Message-ID: <1600774764-50332-1-git-send-email-liheng40@huawei.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.175.104.57] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This addresses the following gcc warning with "make W=1": drivers/gpu/drm/v3d/v3d_drv.c:73:32: warning: ‘v3d_v3d_pm_ops’ defined but not used [-Wunused-const-variable=] Reported-by: Hulk Robot Signed-off-by: Li Heng --- drivers/gpu/drm/v3d/v3d_drv.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/v3d/v3d_drv.c b/drivers/gpu/drm/v3d/v3d_drv.c index 9f7c261..05140db 100644 --- a/drivers/gpu/drm/v3d/v3d_drv.c +++ b/drivers/gpu/drm/v3d/v3d_drv.c @@ -70,10 +70,6 @@ static int v3d_runtime_resume(struct device *dev) } #endif -static const struct dev_pm_ops v3d_v3d_pm_ops = { - SET_RUNTIME_PM_OPS(v3d_runtime_suspend, v3d_runtime_resume, NULL) -}; - static int v3d_get_param_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) { -- 2.7.4