mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] net: Remove the use of dev_err_probe()
@ 2025-08-20  8:57 Xichao Zhao
  2025-08-20  8:57 ` [PATCH 1/2] net: hibmcge: " Xichao Zhao
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Xichao Zhao @ 2025-08-20  8:57 UTC (permalink / raw)
  To: Hauke Mehrtens, Andrew Lunn, Vladimir Oltean, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Jijie Shao, Jian Shen,
	Salil Mehta, open list:LANTIQ / INTEL Ethernet drivers,
	open list
  Cc: Xichao Zhao

The dev_err_probe() doesn't do anything when error is '-ENOMEM'.
Therefore, remove the useless call to dev_err_probe(), and just
return the value instead.

Xichao Zhao (2):
  net: hibmcge: Remove the use of dev_err_probe()
  net: dsa: Remove the use of dev_err_probe()

 drivers/net/dsa/lantiq_gswip.c                    | 3 +--
 drivers/net/ethernet/hisilicon/hibmcge/hbg_main.c | 2 +-
 drivers/net/ethernet/hisilicon/hibmcge/hbg_mdio.c | 3 +--
 3 files changed, 3 insertions(+), 5 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2025-08-22  0:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-20  8:57 [PATCH 0/2] net: Remove the use of dev_err_probe() Xichao Zhao
2025-08-20  8:57 ` [PATCH 1/2] net: hibmcge: " Xichao Zhao
2025-08-20  8:57 ` [PATCH 2/2] net: dsa: " Xichao Zhao
2025-08-20 11:50   ` Andrew Lunn
2025-08-22  0:30 ` [PATCH 0/2] net: " patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®