summaryrefslogtreecommitdiffstats
path: root/drivers/isdn/divert
diff options
context:
space:
mode:
authorwilly tarreau <w@1wt.eu>2014-01-16 08:20:14 +0100
committerDavid S. Miller <davem@davemloft.net>2014-01-16 15:15:42 -0800
commit5428213c042b572d10418fe22cc3c1c682631cad (patch)
treee25bdf668486a6cf811fc25ad656b7173325a69d /drivers/isdn/divert
parenta1a65ab18a9da16e322e88305324c38cd797caa9 (diff)
downloadblackbird-op-linux-5428213c042b572d10418fe22cc3c1c682631cad.tar.gz
blackbird-op-linux-5428213c042b572d10418fe22cc3c1c682631cad.zip
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 <thomas.petazzoni@free-electrons.com> Cc: Gregory CLEMENT <gregory.clement@free-electrons.com> Tested-by: Arnaud Ebalard <arno@natisbad.org> Signed-off-by: Willy Tarreau <w@1wt.eu> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/divert')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud