]> git.baikalelectronics.ru Git - kernel.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>
Sun, 5 Sep 2021 22:04:46 +0000 (18:04 -0400)
commit67328b648753ede7ddd635c099847a2a8c76c108
tree7a3033dbc1bcbdd95f94f812c53ed33d905a1335
parent9cfcc7eb83b5a4cfc9482e5f8ce849373c0893c6
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>
Acked-by: Serge Semin <fancer.lancer@gmail.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/test/ntb_pingpong.c