From: Ben Hutchings Date: Fri, 8 Apr 2011 13:45:11 +0000 (+0000) Subject: gianfar: Clean up implementation of RX network flow classification X-Git-Tag: v3.0-rc1~377^2~459 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bde3528f17aebb9c74d6b0ef81860868c91af049;p=pandora-kernel.git gianfar: Clean up implementation of RX network flow classification This code was cribbed from niu, so gfar_set_hash_opts() begins by converting the ethtool flow class code into a class code for Sun Neptune hardware, then does the same thing again for the hardware it's really dealing with. It may also return -1 (-EPERM) for some unhandled ethtool flow class codes. Remove the useless code and definitions, and fix the error code. Signed-off-by: Ben Hutchings Signed-off-by: David S. Miller --- Reading git-diff-tree failed