diff options
author | Geliang Tang | 2022-02-15 18:11:26 -0800 |
---|---|---|
committer | Jakub Kicinski | 2022-02-16 20:52:04 -0800 |
commit | 742e2f36c0dd5d71f4a083af1b32caa487605440 (patch) | |
tree | 32e460f3097c4aed639a548309fc3c5f42fa437f /net/mptcp/subflow.c | |
parent | 0799e21b5a76d9f14d8a8f024d0b6b9847ad1a03 (diff) |
mptcp: drop unneeded type casts for hmac
Drop the unneeded type casts to 'unsigned long long' for printing out the
hmac values in add_addr_hmac_valid() and subflow_thmac_valid().
Signed-off-by: Geliang Tang <geliang.tang@suse.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/mptcp/subflow.c')
-rw-r--r-- | net/mptcp/subflow.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/mptcp/subflow.c b/net/mptcp/subflow.c index 0d6a4109add1..8cf85684c88f 100644 --- a/net/mptcp/subflow.c +++ b/net/mptcp/subflow.c @@ -344,9 +344,7 @@ static bool subflow_thmac_valid(struct mptcp_subflow_context *subflow) thmac = get_unaligned_be64(hmac); pr_debug("subflow=%p, token=%u, thmac=%llu, subflow->thmac=%llu\n", - subflow, subflow->token, - (unsigned long long)thmac, - (unsigned long long)subflow->thmac); + subflow, subflow->token, thmac, subflow->thmac); return thmac == subflow->thmac; } |