NetworkManager/src/platform
Lubomir Rintel e69d386975 all: use the elvis operator wherever possible
Coccinelle:

  @@
  expression a, b;
  @@
  -a ? a : b
  +a ?: b

Applied with:

  spatch --sp-file ternary.cocci --in-place --smpl-spacing --dir .

With some manual adjustments on spots that Cocci didn't catch for
reasons unknown.

Thanks to the marvelous effort of the GNU compiler developer we can now
spare a couple of bits that could be used for more important things,
like this commit message. Standards commitees yet have to catch up.
2018-05-10 14:36:58 +02:00
..
tests all: use the elvis operator wherever possible 2018-05-10 14:36:58 +02:00
wifi all: remove consecutive empty lines 2018-04-30 16:24:52 +02:00
nm-fake-platform.c wifi: always build nl80211 CRIT_PROTOCOL support 2018-01-15 20:29:26 +01:00
nm-fake-platform.h core: refactor private data in "src" 2016-10-04 09:50:56 +02:00
nm-linux-platform.c all: use the elvis operator wherever possible 2018-05-10 14:36:58 +02:00
nm-linux-platform.h platform: use NMDedupMultiIndex for routes in NMPCache 2017-07-05 18:37:38 +02:00
nm-netlink.c platform: move genl_ctrl_resolve to nm-netlink.c 2018-03-30 22:09:04 +02:00
nm-netlink.h all: replace "it's" with "its" where needed 2018-04-18 14:14:07 +02:00
nm-platform-private.h platform: expose emit-signal function from platform 2017-07-05 18:37:39 +02:00
nm-platform-utils.c platform: add NM_IP_CONFIG_SOURCE_IP6LL source type 2018-04-04 14:57:07 +02:00
nm-platform-utils.h all: remove consecutive empty lines 2018-04-30 16:24:52 +02:00
nm-platform.c all: use the elvis operator wherever possible 2018-05-10 14:36:58 +02:00
nm-platform.h all: remove consecutive empty lines 2018-04-30 16:24:52 +02:00
nmp-netns.c platform/netns: don't try to overlay ro /sys with a rw one 2018-02-12 20:46:47 +01:00
nmp-netns.h core: cleanup implementation of nm_auto* macros to use nm_auto() 2017-10-11 08:43:40 +02:00
nmp-object.c all: remove consecutive empty lines 2018-04-30 16:24:52 +02:00
nmp-object.h all: replace "it's" with "its" where needed 2018-04-18 14:14:07 +02:00