commit | df7ba0eb25edded52b1b3f6bb6ab0c0048a7e0bb | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Wed Aug 04 13:15:30 2021 +0100 |
committer | David S. Miller <davem@davemloft.net> | Thu Aug 05 10:56:01 2021 +0100 |
tree | 23ea7f9f57a9dc4921953ae41f0ebd73bb16d65e | |
parent | 372bbdd5bb3fc454d9c280dc0914486a3c7419d5 [diff] |
mctp: remove duplicated assignment of pointer hdr The pointer hdr is being initialized and also re-assigned with the same value from the call to function mctp_hdr. Static analysis reports that the initializated value is unused. The second assignment is duplicated and can be removed. Addresses-Coverity: ("Unused value"). Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>