NTB: remove redundant setting of DB valid mask
authorArindam Nath <arindam.nath@amd.com>
Wed, 5 Feb 2020 15:54:30 +0000 (21:24 +0530)
committerJon Mason <jdmason@kudzu.us>
Fri, 13 Mar 2020 14:04:20 +0000 (10:04 -0400)
commit41dfc3f79650504f5047f20a4faacaff217ce37b
tree0442d555311099ecea8dd54318e65f664c3e1e9f
parent5f0856bebc6e02a57b36cd2146f056c71862f0b6
NTB: remove redundant setting of DB valid mask

db_valid_mask is set at two places, once within
amd_init_ntb(), and again within amd_init_dev().
Since amd_init_ntb() is actually called from
amd_init_dev(), setting db_valid_mask from
former does not really make sense. So remove it.

Signed-off-by: Arindam Nath <arindam.nath@amd.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/hw/amd/ntb_hw_amd.c