]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: remove constant and introduce helper to check for a pnet id
authorKarsten Graul <kgraul@linux.ibm.com>
Sat, 26 Sep 2020 10:44:19 +0000 (12:44 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Sep 2020 22:19:02 +0000 (15:19 -0700)
commita304e29a2418ea8dd77215f5bc4bc27f4ed8e7da
tree811a893377b8e6e4f190b684199f9d20b849657d
parent414698f6aa31d69fe7fe0fda22ac41cb7777eab5
net/smc: remove constant and introduce helper to check for a pnet id

Use the existing symbol _S instead of SMC_ASCII_BLANK, and introduce a
helper to check if a pnetid is set. No functional change.

Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/smc_pnet.c