diff options
| author | Martin Kaiser <martin@kaiser.cx> | 2022-06-02 22:37:25 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-06-06 09:08:36 +0300 |
| commit | 979315ccedf45ba5b74313c463f9d94b87411932 (patch) | |
| tree | 2bf85cb7a233a8818cb59457d36a51a321f48ec2 /include/linux/stackprotector.h | |
| parent | d8f2cff63249fdf7f2cf78e70344613db1fc4e53 (diff) | |
| download | linux-979315ccedf45ba5b74313c463f9d94b87411932.tar.xz | |
staging: r8188eu: remove the pframe variable
Remove the pframe variable, it is no longer used for populating fields of
the outgoing frame.
pmgntframe->buf_addr is already a u8 *, we can drop the (u8 *) cast.
Increment the u8 *pmgntframe->buf_addr by TXDESC_OFFSET before we cast
it to struct ieee80211_mgmt *.
Tested-by: Pavel Skripkin <paskripkin@gmail.com>
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220602193726.280922-11-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions
