crypto: chtls - simplify a bit 'create_flowc_wr_skb()'
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Thu, 19 Sep 2019 20:04:28 +0000 (22:04 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 4 Oct 2019 15:06:20 +0000 (01:06 +1000)
commit3dc8b01ebcdd3a43d6c766618b92c2becbcf96b8
treed8a30250ce1187933a4089af87edc548a5633608
parent128c66429247add5128c03dc1e144ca56f05a4e2
crypto: chtls - simplify a bit 'create_flowc_wr_skb()'

Use '__skb_put_data()' instead of rewritting it.
This improves readability.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/chelsio/chtls/chtls_io.c