From: willy tarreau Date: Thu, 16 Jan 2014 07:20:14 +0000 (+0100) Subject: net: mvneta: simplify access to the rx descriptor status X-Git-Tag: v3.14-rc1~94^2~146^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5428213c042b572d10418fe22cc3c1c682631cad;p=pandora-kernel.git net: mvneta: simplify access to the rx descriptor status At several places, we already know the value of the rx status but we call functions which dereference the pointer again to get it and don't need the descriptor for anything else. Simplify this task by replacing the rx desc pointer by the status word itself. Cc: Thomas Petazzoni Cc: Gregory CLEMENT Tested-by: Arnaud Ebalard Signed-off-by: Willy Tarreau Signed-off-by: David S. Miller --- Reading git-diff-tree failed