]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ntb: ntb_pingpong: remove redundant initialization of variables msg_data and spad_data
authorColin Ian King <colin.king@canonical.com>
Wed, 9 Jun 2021 11:21:28 +0000 (12:21 +0100)
committerJon Mason <jdmason@kudzu.us>
Thu, 10 Jun 2021 15:27:53 +0000 (11:27 -0400)
commit28293b6c68cd93178f021f51b1b504f3ec33f463
tree011325051ff4897d5215ad2d96daa70f84ec09e0
parentf4d655a6e49b577de9c68c16b91937f70fdd0aed
ntb: ntb_pingpong: remove redundant initialization of variables msg_data and spad_data

The variables msg_data and spad_data are being initialized with values
that are never read, they are being updated later on. The initializations
are redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/test/ntb_pingpong.c