diff options
| author | Nishka Dasgupta <[email protected]> | 2019-08-08 12:10:03 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-08-08 19:58:14 +0200 |
| commit | fc898688aa37c08b872a2228d1f0397d01111652 (patch) | |
| tree | c55598755b899edfa92a84f8b2a0d151693a3a9c /tools/perf/scripts/python | |
| parent | a9ca0c5951ff1cb782cd78dd3eb57afb35f2f841 (diff) | |
staging: rtl8712: amsdu_to_msdu(): Change return type
Change return type of amsdu_to_msdu from int to void as it always
returns _SUCCESS. Remove return statement as well.
As this return value was never anything other than _SUCCESS, remove the
if-branch that depends on the return value not being _SUCCESS.
Remove local variable that was only used in the now-removed if-branch
Modify call site to call the function amsdu_to_msdu without expecting
a return value.
Signed-off-by: Nishka Dasgupta <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions