From: Sathya Perla Date: Fri, 6 Feb 2015 13:18:40 +0000 (-0500) Subject: be2net: remove duplicate code in be_cmd_rx_filter() X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~23^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac34b74378a15b01d16ae84d616b405dd0948ecb;p=pandora-kernel.git be2net: remove duplicate code in be_cmd_rx_filter() This patch passes BE_IF_FLAGS_XXX flags to be_cmd_rx_filter() routine instead of the IFF_XXX flags. Doing this gets rid of the code to convert the IFF_XXX flags to the BE_IF_FLAGS_XXX used by the FW cmd. The patch also removes code for setting if_flags_mask that was duplicated for each filter mode. Signed-off-by: Sathya Perla Signed-off-by: Kalesh AP Signed-off-by: David S. Miller --- Reading git-diff-tree failed