linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH *-next 00/18] Remove weird and needless 'return' for void APIs
@ 2025-02-21 13:02 Zijun Hu
  2025-02-21 13:02 ` [PATCH *-next 01/18] mm/mmu_gather: Remove needless return in void API tlb_remove_page() Zijun Hu
                   ` (21 more replies)
  0 siblings, 22 replies; 42+ messages in thread
From: Zijun Hu @ 2025-02-21 13:02 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Will Deacon, Aneesh Kumar K.V, Andrew Morton,
	Nick Piggin, Peter Zijlstra, Arnd Bergmann, Thomas Gleixner,
	Herbert Xu, David S. Miller, Greg Kroah-Hartman,
	Rafael J. Wysocki, Danilo Krummrich, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Simon Horman, Johannes Berg, Jamal Hadi Salim,
	Cong Wang, Jiri Pirko, Jason Gunthorpe, Leon Romanovsky,
	Linus Walleij, Bartosz Golaszewski, Lee Jones, Thomas Graf,
	Christoph Hellwig, Marek Szyprowski, Robin Murphy, Miquel Raynal,
	Richard Weinberger, Vignesh Raghavendra
  Cc: Zijun Hu, linux-arch, linux-mm, linux-kernel, linux-crypto,
	netdev, linux-wireless, linux-rdma, linux-gpio, linux-pm, iommu,
	linux-mtd, Zijun Hu

This patch series is to remove weird and needless 'return' for
void APIs under include/ with the following pattern:

api_header.h:

void api_func_a(...);

static inline void api_func_b(...)
{
	return api_func_a(...);
}

Remove the needless 'return' in api_func_b().

Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com>
---
Zijun Hu (18):
      mm/mmu_gather: Remove needless return in void API tlb_remove_page()
      cpu: Remove needless return in void API suspend_enable_secondary_cpus()
      crypto: api - Remove needless return in void API crypto_free_tfm()
      crypto: scomp - Remove needless return in void API crypto_scomp_free_ctx()
      sysfs: Remove needless return in void API sysfs_enable_ns()
      skbuff: Remove needless return in void API consume_skb()
      wifi: mac80211: Remove needless return in void API _ieee80211_hw_set()
      net: sched: Remove needless return in void API qdisc_watchdog_schedule_ns()
      ipv4/igmp: Remove needless return in void API ip_mc_dec_group()
      IB/rdmavt: Remove needless return in void API rvt_mod_retry_timer()
      ratelimit: Remove needless return in void API ratelimit_default_init()
      siox: Remove needless return in void API siox_driver_unregister()
      gpiolib: Remove needless return in two void APIs
      PM: wakeup: Remove needless return in three void APIs
      mfd: db8500-prcmu: Remove needless return in three void APIs
      rhashtable: Remove needless return in three void APIs
      dma-mapping: Remove needless return in five void APIs
      mtd: nand: Do not return void function in void function

 include/asm-generic/tlb.h           |  2 +-
 include/crypto/internal/scompress.h |  2 +-
 include/linux/cpu.h                 |  2 +-
 include/linux/crypto.h              |  2 +-
 include/linux/dma-mapping.h         | 12 ++++++------
 include/linux/gpio.h                |  4 ++--
 include/linux/igmp.h                |  2 +-
 include/linux/mfd/dbx500-prcmu.h    |  6 +++---
 include/linux/mtd/nand.h            | 18 ++++++++++++------
 include/linux/pm_wakeup.h           |  6 +++---
 include/linux/ratelimit.h           |  4 ++--
 include/linux/rhashtable.h          |  6 +++---
 include/linux/siox.h                |  2 +-
 include/linux/skbuff.h              |  2 +-
 include/linux/sysfs.h               |  2 +-
 include/net/mac80211.h              |  2 +-
 include/net/pkt_sched.h             |  2 +-
 include/rdma/rdmavt_qp.h            |  2 +-
 18 files changed, 42 insertions(+), 36 deletions(-)
---
base-commit: 2014c95afecee3e76ca4a56956a936e23283f05b
change-id: 20250221-rmv_return-f1dc82d492f0

Best regards,
-- 
Zijun Hu <quic_zijuhu@quicinc.com>



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

end of thread, other threads:[~2025-03-13 13:03 UTC | newest]

Thread overview: 42+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-21 13:02 [PATCH *-next 00/18] Remove weird and needless 'return' for void APIs Zijun Hu
2025-02-21 13:02 ` [PATCH *-next 01/18] mm/mmu_gather: Remove needless return in void API tlb_remove_page() Zijun Hu
2025-02-21 20:01   ` Peter Zijlstra
2025-02-22 11:00     ` Zijun Hu
2025-02-24 13:23       ` Peter Zijlstra
2025-02-24 14:45         ` Zijun Hu
2025-02-25 17:27           ` Przemek Kitszel
2025-02-26 11:30             ` Zijun Hu
2025-02-25 15:16     ` David Howells
2025-02-26 11:45       ` Zijun Hu
2025-02-21 13:02 ` [PATCH *-next 02/18] cpu: Remove needless return in void API suspend_enable_secondary_cpus() Zijun Hu
2025-02-21 13:02 ` [PATCH *-next 03/18] crypto: api - Remove needless return in void API crypto_free_tfm() Zijun Hu
2025-02-21 13:02 ` [PATCH *-next 04/18] crypto: scomp - Remove needless return in void API crypto_scomp_free_ctx() Zijun Hu
2025-02-21 13:02 ` [PATCH *-next 05/18] sysfs: Remove needless return in void API sysfs_enable_ns() Zijun Hu
2025-02-21 13:02 ` [PATCH *-next 06/18] skbuff: Remove needless return in void API consume_skb() Zijun Hu
2025-02-21 13:02 ` [PATCH *-next 07/18] wifi: mac80211: Remove needless return in void API _ieee80211_hw_set() Zijun Hu
2025-02-21 13:02 ` [PATCH *-next 08/18] net: sched: Remove needless return in void API qdisc_watchdog_schedule_ns() Zijun Hu
2025-02-21 13:02 ` [PATCH *-next 09/18] ipv4/igmp: Remove needless return in void API ip_mc_dec_group() Zijun Hu
2025-02-21 13:02 ` [PATCH *-next 10/18] IB/rdmavt: Remove needless return in void API rvt_mod_retry_timer() Zijun Hu
2025-02-21 13:02 ` [PATCH *-next 11/18] ratelimit: Remove needless return in void API ratelimit_default_init() Zijun Hu
2025-02-21 13:02 ` [PATCH *-next 12/18] siox: Remove needless return in void API siox_driver_unregister() Zijun Hu
2025-02-21 13:02 ` [PATCH *-next 13/18] gpiolib: Remove needless return in two void APIs Zijun Hu
2025-02-21 13:06   ` Bartosz Golaszewski
2025-02-21 13:12     ` Zijun Hu
2025-02-21 13:02 ` [PATCH *-next 14/18] PM: wakeup: Remove needless return in three " Zijun Hu
2025-02-26 17:06   ` Rafael J. Wysocki
2025-02-21 13:02 ` [PATCH *-next 15/18] mfd: db8500-prcmu: " Zijun Hu
2025-02-27 23:12   ` Linus Walleij
2025-03-13 13:03   ` (subset) " Lee Jones
2025-02-21 13:02 ` [PATCH *-next 16/18] rhashtable: " Zijun Hu
2025-02-21 13:02 ` [PATCH *-next 17/18] dma-mapping: Remove needless return in five " Zijun Hu
2025-02-21 13:02 ` [PATCH *-next 18/18] mtd: nand: Do not return void function in void function Zijun Hu
2025-02-21 13:12 ` [PATCH *-next 00/18] Remove weird and needless 'return' for void APIs Greg Kroah-Hartman
2025-02-21 13:15   ` Zijun Hu
2025-02-21 15:40 ` Arnd Bergmann
2025-02-22 10:38   ` Zijun Hu
2025-02-21 19:00 ` Stephen Hemminger
2025-02-21 19:36   ` Johannes Berg
2025-02-22 10:51     ` Zijun Hu
2025-02-27 12:48 ` Zijun Hu
2025-02-27 13:03   ` Peter Zijlstra
2025-03-03 11:30     ` Zijun Hu

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).