net/smc: shorten lgr_cnt initialization
authorUrsula Braun <ubraun@linux.ibm.com>
Thu, 12 Dec 2019 21:35:41 +0000 (22:35 +0100)
committerJakub Kicinski <jakub.kicinski@netronome.com>
Sun, 15 Dec 2019 19:07:49 +0000 (11:07 -0800)
commit29115cef85781057e78f0c967979edd40b16c209
tree776386e7c5967c5937a98a61e15d172638003e93
parentf5058a27dac700952d5551bd7c5546f52b0468e4
net/smc: shorten lgr_cnt initialization

Save a line of code by making use of ATOMIC_INIT() for lgr_cnt.

Suggested-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
net/smc/smc_core.c