netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] net: ethernet: remove unnecessary pci_set_drvdata() part 4
@ 2013-10-23  7:05 Jingoo Han
  2013-10-23  7:06 ` [PATCH 1/7] net: sungem: remove unnecessary pci_set_drvdata() Jingoo Han
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Jingoo Han @ 2013-10-23  7:05 UTC (permalink / raw)
  To: 'David S. Miller'; +Cc: netdev, 'Jingoo Han'

Since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d
(device-core: Ensure drvdata = NULL when no driver is bound),
the driver core clears the driver data to NULL after device_release
or on probe failure. Thus, it is not needed to manually clear the
device driver data to NULL.

---
 drivers/net/ethernet/sun/niu.c            |    2 --
 drivers/net/ethernet/sun/sungem.c         |    2 --
 drivers/net/ethernet/tehuti/tehuti.c      |    1 -
 drivers/net/ethernet/ti/tlan.c            |    1 -
 drivers/net/ethernet/toshiba/spider_net.c |    1 -
 drivers/net/ethernet/toshiba/tc35815.c    |    1 -
 drivers/net/ethernet/via/via-rhine.c      |    1 -
 7 files changed, 9 deletions(-)

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-10-23  7:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-23  7:05 [PATCH 0/7] net: ethernet: remove unnecessary pci_set_drvdata() part 4 Jingoo Han
2013-10-23  7:06 ` [PATCH 1/7] net: sungem: remove unnecessary pci_set_drvdata() Jingoo Han
2013-10-23  7:07 ` [PATCH 2/7] net: niu: " Jingoo Han
2013-10-23  7:07 ` [PATCH 3/7] net: tehuti: " Jingoo Han
2013-10-23  7:08 ` [PATCH 4/7] net: tlan: " Jingoo Han
2013-10-23  7:09 ` [PATCH 5/7] net: spider_net: " Jingoo Han
2013-10-23  7:09 ` [PATCH 6/7] net: tc35815: " Jingoo Han
2013-10-23  7:09 ` [PATCH 7/7] net: via-rhine: " Jingoo Han

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).