summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorMartin Kaiser <martin@kaiser.cx>2022-04-17 12:22:19 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-04-20 18:37:17 +0200
commit9e9bbd6ffd0e2dfeb02b8233f069974c7d8c5a98 (patch)
tree2b8adbe19df16da297d2e09e988be1c11a657ff4 /include/linux
parentbea6af5447fcbdc076dfaacc33db7e49a855f794 (diff)
downloadcachepc-linux-9e9bbd6ffd0e2dfeb02b8233f069974c7d8c5a98.tar.gz
cachepc-linux-9e9bbd6ffd0e2dfeb02b8233f069974c7d8c5a98.zip
staging: r8188eu: replace mlme_handler with function pointer
mlme_sta_tbl is an array of struct mlme_handler. mlme_handler's num and str components are not used. The code in mgt_dispatcher uses the subtype number of the incoming frame to select the array entry for compiling the repsonse. We can remove struct mlme_handler and make mlme_sta_tbl an array of function pointers. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20220417102221.466524-5-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions