From: David S. Miller Date: Thu, 26 Oct 2017 08:05:04 +0000 (+0900) Subject: Merge branch 'dsa-dont-unmask-port-bitmaps' X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=95fa7a05677e425e175cbca724acb03f15449a7a;p=openwrt%2Fstaging%2Fblogic.git Merge branch 'dsa-dont-unmask-port-bitmaps' Vivien Didelot says: ==================== net: dsa: don't unmask port bitmaps DSA has several bitmaps to store the type of ports: cpu_port_mask, dsa_port_mask and enabled_port_mask. But the code is inconsistently unmasking them. The legacy code tries to unmask cpu_port_mask and dsa_port_mask but skips enabled_port_mask. The new bindings unmasks cpu_port_mask and enabled_port_mask but skips dsa_port_mask. In fact there is no need to unmask them because we are in the error path, and they won't be used after. Instead of fixing the unmasking, simply remove them. ==================== Signed-off-by: David S. Miller --- 95fa7a05677e425e175cbca724acb03f15449a7a