diff options
| author | Larry Finger <[email protected]> | 2014-02-14 16:54:11 -0600 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2014-02-15 12:36:16 -0800 |
| commit | bd86e98cb9422751563c0e1a05ce026ea89bc336 (patch) | |
| tree | b256d2f31052c34bec2cf48f22ed425c93baccf6 /include/linux | |
| parent | c24e0ba3f2de42472e904259cf0d7839101f5c5b (diff) | |
staging: r8188eu: Remove get_recvframe_data()
This inline function checks that the pointer is not NULL and then returns
the rx_data member. Unfortunately, all 3 callers of this function have
dereferenced that pointer before this routine is called. As the check for
NULL is useless, eliminate the routine.
Reported-by: Jes Sorensen <[email protected]>
Signed-off-by: Larry Finger <[email protected]>
Cc: Jes Sorensen <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions