linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next 0/6] net: Remove unnecessary ternary operators
@ 2023-08-04  3:53 Ruan Jinjie
  2023-08-04  3:53 ` [PATCH -next 1/6] net: thunderx: " Ruan Jinjie
                   ` (6 more replies)
  0 siblings, 7 replies; 13+ messages in thread
From: Ruan Jinjie @ 2023-08-04  3:53 UTC (permalink / raw)
  To: sgoutham, davem, edumazet, kuba, pabeni, jesse.brandeburg,
	anthony.l.nguyen, tariqt, s.shtylyov, aspriel, franky.lin,
	hante.meuleman, kvalo, richardcochran, yoshihiro.shimoda.uh,
	ruanjinjie, u.kleine-koenig, mkl, lee, set_pte_at,
	linux-arm-kernel, netdev, intel-wired-lan, linux-rdma,
	linux-renesas-soc, linux-wireless, brcm80211-dev-list.pdl,
	SHA-cyfmac-dev-list

There are a little ternary operators, the true or false judgement
of which is unnecessary in C language semantics.

Ruan Jinjie (6):
  net: thunderx: Remove unnecessary ternary operators
  ethernet/intel: Remove unnecessary ternary operators
  net/mlx4: Remove an unnecessary ternary operator
  net: ethernet: renesas: rswitch: Remove an unnecessary ternary
    operator
  net: fjes: Remove an unnecessary ternary operator
  brcm80211: Remove an unnecessary ternary operator

 drivers/net/ethernet/cavium/thunder/nic_main.c               | 2 +-
 drivers/net/ethernet/cavium/thunder/thunder_bgx.c            | 2 +-
 drivers/net/ethernet/intel/igb/e1000_phy.c                   | 2 +-
 drivers/net/ethernet/intel/igc/igc_phy.c                     | 2 +-
 drivers/net/ethernet/mellanox/mlx4/port.c                    | 2 +-
 drivers/net/ethernet/renesas/rcar_gen4_ptp.c                 | 2 +-
 drivers/net/fjes/fjes_main.c                                 | 2 +-
 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c | 3 +--
 8 files changed, 8 insertions(+), 9 deletions(-)

-- 
2.34.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2023-08-07 17:36 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-04  3:53 [PATCH -next 0/6] net: Remove unnecessary ternary operators Ruan Jinjie
2023-08-04  3:53 ` [PATCH -next 1/6] net: thunderx: " Ruan Jinjie
     [not found]   ` <15759f98483947999393a25b857bc4fe@realtek.com>
2023-08-07  4:59     ` Ruan Jinjie
2023-08-07 17:34       ` Jacob Keller
2023-08-04  3:53 ` [PATCH -next 2/6] ethernet/intel: " Ruan Jinjie
2023-08-07 17:35   ` Jacob Keller
2023-08-04  3:53 ` [PATCH -next 3/6] net/mlx4: Remove an unnecessary ternary operator Ruan Jinjie
     [not found]   ` <fd3e9bb40d12421caaddda7279aece7a@realtek.com>
2023-08-07  5:00     ` Ruan Jinjie
2023-08-04  3:53 ` [PATCH -next 4/6] net: ethernet: renesas: rswitch: " Ruan Jinjie
2023-08-04  3:53 ` [PATCH -next 5/6] net: fjes: " Ruan Jinjie
2023-08-04  3:53 ` [PATCH -next 6/6] brcm80211: " Ruan Jinjie
     [not found]   ` <f72991b36d6a449ea5cf476d438bcd1d@realtek.com>
2023-08-07  5:00     ` Ruan Jinjie
2023-08-04 20:17 ` [PATCH -next 0/6] net: Remove unnecessary ternary operators Jakub Kicinski

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