From: Sathya Perla Date: Fri, 6 Feb 2015 13:18:41 +0000 (-0500) Subject: be2net: refactor be_set_rx_mode() and be_vid_config() for readability X-Git-Tag: fixes-v4.0-rc1~150^2~23^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f66b7cfd95a5e13ca8bc4854252cd027f3d7fe86;p=pandora-kernel.git be2net: refactor be_set_rx_mode() and be_vid_config() for readability This patch re-factors the filter setting (uc-list, mc-list, promisc, vlan) code in be_set_rx_mode() and be_vid_config() to make it more readable and reduce code duplication. This patch adds a separate field to track the state/mode of filtering, along with moving all the filtering related fields to one place in be be_adapter structure. Signed-off-by: Sathya Perla Signed-off-by: David S. Miller --- Reading git-diff-tree failed