commit | cfaace269d0ce5a4ae26bfe442f1c4df1a9558de | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Mon Aug 15 13:55:17 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Mon Aug 15 13:38:44 2016 -0700 |
tree | 84cddac5be991c9d0bb03ec64e89f2dcb56186af | |
parent | 2eb03e6c4e305b71bdd2d0ce4250b9c9099d9128 [diff] |
net: hns: mdio->irq is an array, so no need to check if it is null The null check on mdio->irq is redundant since mdio->irq is an array of PHY_MAX_ADDR ints and hence can never be null. Remove the redundant check. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>