Message ID | 20230323151519.58479-1-andriy.shevchenko@linux.intel.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp2986626wrt; Thu, 23 Mar 2023 08:45:05 -0700 (PDT) X-Google-Smtp-Source: AK7set8S66fphPfrdQohFqVVMuw3iVwRZiqFAIgFdJ+JxL6UBg6T3FH0jHnDUqw7xmNpZTPAnD02 X-Received: by 2002:a17:906:28c9:b0:934:8043:ebf8 with SMTP id p9-20020a17090628c900b009348043ebf8mr11034542ejd.26.1679586305609; Thu, 23 Mar 2023 08:45:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679586305; cv=none; d=google.com; s=arc-20160816; b=hwVqW7LQ+OqQDJFkpU/t9CkgnkaZFbzIz32gLL4wjGIKZOPlKmDVSm9T7OiiFphPdd YApGtUAs9Vx2mB5hi7AfvBFb8+YpUFvj8LVdQsz9E8HEm0lyoUEm3TzNXDVdrWl091bM kTUYr+1ZGORyF9cxSlDeZ5Ic0ZeZu6cMIWjYBdogut7IP27qmbxyOwnpS8Ay71aCOoJP 0vdaQG5IvwYnVH4/75COV6D5VPHh9e2ficL9NTRnq10lai78Xinkj4K5sHAg/VJzwO6T 8pyi4GZZDTQMl4IQAMMQWfYhEU9lRlOc3OhLvw6wJzjUqVG1bUtugxcsQQA577hBMGXc /aGQ== 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:dkim-signature; bh=k/gwmf+SRZTgpczP8EibEgz2DOTsR2xRaw4LLWHYZqk=; b=eHWhgOaL+rL1fW9vpF19cRxZQK4W+pDIYNddUpz3fmGaDt2R5SF1saj09H7RnYhrXb dFKj97jE8kmb47uV+I9tak/d9B+Q3+nrfVkLz+rMCYRxFXBGz4qtQ0JGIwAJ1JqcnDlj vxlqu/yQqay5A22TwtGhG6V/BpQ75xctfhVyo7iDEnKCZpuKbHuhwwTdFLBEAEbabahB X4lYIh3lr5zXY9vIACEd89IVRlOHKKFqGMg0IGa6tZSwHk5fyK/0GpYwScDmArgqP2hC 7AXCGb2YnPXyG/0eN0I9KPfolXLslGGvUtZN+odYumlfVUffzx4jo0ksTItSy4/3mRgF n+xQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=WrIMxlmk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t24-20020aa7d4d8000000b004ffaf8b9e6dsi19144931edr.488.2023.03.23.08.44.42; Thu, 23 Mar 2023 08:45:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=WrIMxlmk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231722AbjCWPPE (ORCPT <rfc822;ezelljr.billy@gmail.com> + 99 others); Thu, 23 Mar 2023 11:15:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231594AbjCWPPC (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 23 Mar 2023 11:15:02 -0400 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 972D29001; Thu, 23 Mar 2023 08:15:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1679584501; x=1711120501; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=eeRabBK6QPfoQ8luPUQT5zoPHyjCVC0mZMDpYDE/5Fg=; b=WrIMxlmkThg+4MSMrMzKLcY64wHrGRRl0UWxvjQTC+lOpfr/6QM0+wyF JZWc2Hqkvsl+vkBYs74I7U8Wh8d7I1HmVhDr09Ouv4mb+QWHKqxLAWrt+ WfPknh7tlZ0s67p3xg3FMrfRHzDTAta5pI0RXKn4rbGgB5crknUj9fwll T7LKy3uC8qoyVkSV4l87qhNHvYoOFWL6FGsa/qJNYBpCdm3a2yCGsQvfS jvWi5V++qeTTtE8J0pGTp12DNGYMsaiJombIeQv3N7NQQZPq1Vh9TQTw8 EV5lF0c/AT0+xL+t6To5QJJjR7ZxJAqc5K3s5fwIhIQ18SgcSnFVfuXIg Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10658"; a="323378828" X-IronPort-AV: E=Sophos;i="5.98,285,1673942400"; d="scan'208";a="323378828" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Mar 2023 08:14:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10658"; a="746746088" X-IronPort-AV: E=Sophos;i="5.98,285,1673942400"; d="scan'208";a="746746088" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga008.fm.intel.com with ESMTP; 23 Mar 2023 08:14:38 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id D34ECD0; Thu, 23 Mar 2023 17:15:24 +0200 (EET) From: Andy Shevchenko <andriy.shevchenko@linux.intel.com> To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Daniel Scally <djrscally@gmail.com>, Heikki Krogerus <heikki.krogerus@linux.intel.com>, Sakari Ailus <sakari.ailus@linux.intel.com> Subject: [PATCH v1 1/1] device property: Remove unused struct net_device forward declaration Date: Thu, 23 Mar 2023 17:15:19 +0200 Message-Id: <20230323151519.58479-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.40.0.1.gaa8946217a0b MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761173890342360289?= X-GMAIL-MSGID: =?utf-8?q?1761173890342360289?= |
Series |
[v1,1/1] device property: Remove unused struct net_device forward declaration
|
|
Commit Message
Andy Shevchenko
March 23, 2023, 3:15 p.m. UTC
There is no users in the property.h for the struct net_device.
Remove the latter for good.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
include/linux/property.h | 1 -
1 file changed, 1 deletion(-)
Comments
On Thu, Mar 23, 2023 at 05:15:19PM +0200, Andy Shevchenko wrote: > There is no users in the property.h for the struct net_device. > Remove the latter for good. Oh, this seems unfortunate as it doesn't Cc Greg. Folks, shall we add the header to "DRIVER CORE, KOBJECTS, DEBUGFS AND SYSFS"? > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> > --- > include/linux/property.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/include/linux/property.h b/include/linux/property.h > index ee9cc1710d82..1dff38e930fc 100644 > --- a/include/linux/property.h > +++ b/include/linux/property.h > @@ -16,7 +16,6 @@ > #include <linux/types.h> > > struct device; > -struct net_device; > > enum dev_prop_type { > DEV_PROP_U8,
On Mon, Mar 27, 2023 at 01:11:20PM +0300, Andy Shevchenko wrote: > On Thu, Mar 23, 2023 at 05:15:19PM +0200, Andy Shevchenko wrote: > > There is no users in the property.h for the struct net_device. > > Remove the latter for good. > > Oh, this seems unfortunate as it doesn't Cc Greg. Folks, shall we add > the header to "DRIVER CORE, KOBJECTS, DEBUGFS AND SYSFS"? Yes please.
On Mon, Mar 27, 2023 at 01:48:21PM +0200, Greg Kroah-Hartman wrote: > On Mon, Mar 27, 2023 at 01:11:20PM +0300, Andy Shevchenko wrote: > > On Thu, Mar 23, 2023 at 05:15:19PM +0200, Andy Shevchenko wrote: > > > There is no users in the property.h for the struct net_device. > > > Remove the latter for good. > > > > Oh, this seems unfortunate as it doesn't Cc Greg. Folks, shall we add > > the header to "DRIVER CORE, KOBJECTS, DEBUGFS AND SYSFS"? > > Yes please. Done as v2 with this patch also resent there.
diff --git a/include/linux/property.h b/include/linux/property.h index ee9cc1710d82..1dff38e930fc 100644 --- a/include/linux/property.h +++ b/include/linux/property.h @@ -16,7 +16,6 @@ #include <linux/types.h> struct device; -struct net_device; enum dev_prop_type { DEV_PROP_U8,