summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2014-02-15 02:54:11 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-16 00:36:16 +0400
commitbd86e98cb9422751563c0e1a05ce026ea89bc336 (patch)
treeb256d2f31052c34bec2cf48f22ed425c93baccf6 /include
parentc24e0ba3f2de42472e904259cf0d7839101f5c5b (diff)
downloadlinux-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