diff options
author | Bjorn Andersson <bjorn.andersson@linaro.org> | 2017-10-10 23:45:21 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-11 15:28:38 -0700 |
commit | 1a7959c76641674991ba3a49f25432f1e105391e (patch) | |
tree | c8a52ea573b8159676b2fa7f7d7efbc831e67c4d /fs/cifs/smb2pdu.c | |
parent | e7044482c8ac5081f4775063995647787d5082a4 (diff) | |
download | talos-obmc-linux-1a7959c76641674991ba3a49f25432f1e105391e.tar.gz talos-obmc-linux-1a7959c76641674991ba3a49f25432f1e105391e.zip |
net: qrtr: Clean up control packet handling
As the message header generation is deferred the internal functions for
generating control packets can be simplified.
This patch modifies qrtr_alloc_ctrl_packet() to, in addition to the
sk_buff, return a reference to a struct qrtr_ctrl_pkt, which clarifies
and simplifies the helpers to the point that these functions can be
folded back into the callers.
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/cifs/smb2pdu.c')
0 files changed, 0 insertions, 0 deletions