diff options
| author | Larry Finger <Larry.Finger@lwfinger.net> | 2014-02-15 02:54:11 +0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-16 00:36:16 +0400 |
| commit | bd86e98cb9422751563c0e1a05ce026ea89bc336 (patch) | |
| tree | b256d2f31052c34bec2cf48f22ed425c93baccf6 /include | |
| parent | c24e0ba3f2de42472e904259cf0d7839101f5c5b (diff) | |
| download | linux-bd86e98cb9422751563c0e1a05ce026ea89bc336.tar.xz | |
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 <Jes.Sorensen@redhat.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
