Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1297444 > unrolled thread

[PATCH 1/2] bonding: drop unused to_dev macro in bond_sysfs.c

Started byGeliang Tang <geliangtang@163.com>
First post2015-12-23 13:50 +0100
Last post2015-12-24 04:30 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH 1/2] bonding: drop unused to_dev macro in bond_sysfs.c Geliang Tang <geliangtang@163.com> - 2015-12-23 13:50 +0100
    Re: [PATCH 1/2] bonding: drop unused to_dev macro in bond_sysfs.c David Miller <davem@davemloft.net> - 2015-12-24 04:30 +0100

#1297444 — [PATCH 1/2] bonding: drop unused to_dev macro in bond_sysfs.c

FromGeliang Tang <geliangtang@163.com>
Date2015-12-23 13:50 +0100
Subject[PATCH 1/2] bonding: drop unused to_dev macro in bond_sysfs.c
Message-ID<qIR1E-1bM-25@gated-at.bofh.it>
to_dev is not used anymore so drop it.

Signed-off-by: Geliang Tang <geliangtang@163.com>
---
 drivers/net/bonding/bond_sysfs.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/bonding/bond_sysfs.c b/drivers/net/bonding/bond_sysfs.c
index f4ae720..313dbac 100644
--- a/drivers/net/bonding/bond_sysfs.c
+++ b/drivers/net/bonding/bond_sysfs.c
@@ -42,7 +42,6 @@
 
 #include <net/bonding.h>
 
-#define to_dev(obj)	container_of(obj, struct device, kobj)
 #define to_bond(cd)	((struct bonding *)(netdev_priv(to_net_dev(cd))))
 
 /* "show" function for the bond_masters attribute.
-- 
2.5.0


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1297740

FromDavid Miller <davem@davemloft.net>
Date2015-12-24 04:30 +0100
Message-ID<qJ4Lf-1uS-3@gated-at.bofh.it>
In reply to#1297444
From: Geliang Tang <geliangtang@163.com>
Date: Wed, 23 Dec 2015 20:42:20 +0800

> to_dev is not used anymore so drop it.
> 
> Signed-off-by: Geliang Tang <geliangtang@163.com>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web