summaryrefslogtreecommitdiffstats
path: root/net/mac80211/debugfs_sta.h
diff options
context:
space:
mode:
authorJoey Zhang <joey.zhang@microchip.com>2019-06-06 09:09:42 +0200
committerJon Mason <jdmason@kudzu.us>2019-06-13 14:59:25 +0200
commit28e339f100e34608a8f40c5ec6a6f8ef7b826028 (patch)
tree7894bf6643fead1d8cb1e355a01f901bc0601306 /net/mac80211/debugfs_sta.h
parentNTB: correct ntb_dev_ops and ntb_dev comment typos (diff)
downloadlinux-28e339f100e34608a8f40c5ec6a6f8ef7b826028.tar.xz
linux-28e339f100e34608a8f40c5ec6a6f8ef7b826028.zip
ntb_hw_switchtec: Remove redundant steps of switchtec_ntb_reinit_peer() function
When a re-initialization is caused by a link event, the driver will re-setup the shared memory window. But at that time, the shared memory is still valid, and it's unnecessary to free, reallocate and then initialize it again. We only need to reconfigure the hardware registers. Remove the redundant steps from switchtec_ntb_reinit_peer() function. Signed-off-by: Joey Zhang <joey.zhang@microchip.com> Signed-off-by: Wesley Sheng <wesley.sheng@microchip.com> Reviewed-by: Logan Gunthorpe <logang@deltatee.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>
Diffstat (limited to 'net/mac80211/debugfs_sta.h')
0 files changed, 0 insertions, 0 deletions