diff options
| author | Mao Wenan <[email protected]> | 2019-12-09 13:08:45 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-12-09 22:27:26 +0000 |
| commit | 718eae277e62a26e5862eb72a830b5e0fe37b04a (patch) | |
| tree | 4de9e0afed2d139bec3f80425c1f8aa057227433 /net/sctp/ulpqueue.c | |
| parent | Merge branch 'for-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff) | |
| download | kernel-718eae277e62a26e5862eb72a830b5e0fe37b04a.tar.gz kernel-718eae277e62a26e5862eb72a830b5e0fe37b04a.zip | |
NFC: port100: Convert cpu_to_le16(le16_to_cpu(E1) + E2) to use le16_add_cpu().
Convert cpu_to_le16(le16_to_cpu(frame->datalen) + len) to
use le16_add_cpu(), which is more concise and does the same thing.
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Mao Wenan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/sctp/ulpqueue.c')
0 files changed, 0 insertions, 0 deletions
