]> 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)
commitd929ec923b5669c2f923c209827365ea3be2301f
tree811a893377b8e6e4f190b684199f9d20b849657d
parent51cfd1054b84f8127ce260cf80dc51f538ad821a
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