summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@linaro.org>2017-10-10 23:45:21 -0700
committerDavid S. Miller <davem@davemloft.net>2017-10-11 15:28:38 -0700
commit1a7959c76641674991ba3a49f25432f1e105391e (patch)
treec8a52ea573b8159676b2fa7f7d7efbc831e67c4d /mm
parente7044482c8ac5081f4775063995647787d5082a4 (diff)
downloadlinux-1a7959c76641674991ba3a49f25432f1e105391e.tar.gz
linux-1a7959c76641674991ba3a49f25432f1e105391e.tar.xz
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 'mm')
0 files changed, 0 insertions, 0 deletions