summaryrefslogtreecommitdiffstats
path: root/drivers/net/mdio.c
diff options
context:
space:
mode:
authorSara Sharon2016-11-20 12:50:39 +0100
committerLuca Coelho2017-02-03 15:26:39 +0100
commit4f23f206ddce85a92b1acdebe0f4e9ed01b1d3f4 (patch)
tree4000e95e42dc516caddd313db30a5936ce42eb28 /drivers/net/mdio.c
parentiwlwifi: mvm: Use aux queue for offchannel frames in dqa (diff)
downloadkernel-qcow2-linux-4f23f206ddce85a92b1acdebe0f4e9ed01b1d3f4.tar.gz
kernel-qcow2-linux-4f23f206ddce85a92b1acdebe0f4e9ed01b1d3f4.tar.xz
kernel-qcow2-linux-4f23f206ddce85a92b1acdebe0f4e9ed01b1d3f4.zip
iwlwifi: mvm: cleanup incorrect and redundant define
Currently we have up to 3 phy contexts - defined by NUM_PHY_CTX. However - some code paths validate the ID by using MAX_PHYS define which is set to 4. While there is no harm it is incorrect - since the maximum is 3. Remove the define and use the correct one. Cleanup the code a bit while at it. Signed-off-by: Sara Sharon <sara.sharon@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/mdio.c')
0 files changed, 0 insertions, 0 deletions