From: Larry Finger Date: Fri, 14 Feb 2014 22:54:11 +0000 (-0600) Subject: staging: r8188eu: Remove get_recvframe_data() X-Git-Tag: v3.15-rc1~139^2~1042 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd86e98cb9422751563c0e1a05ce026ea89bc336;p=pandora-kernel.git 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 Signed-off-by: Larry Finger Cc: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed