net/scm: cleanup scm_detach_fds
authorChristoph Hellwig <hch@lst.de>
Mon, 11 May 2020 11:59:12 +0000 (13:59 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 May 2020 23:59:16 +0000 (16:59 -0700)
commit2618d530dd8b7ac0fdcb83f4c95b88f7b0d37ce6
treebc0513176af5328d26f672fd26c5d8634f7cd118
parent0462b6bdb6445b887b8896f28be92e0d94c92e7b
net/scm: cleanup scm_detach_fds

Factor out two helpes to keep the code tidy.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/scm.c