diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2019-02-25 19:34:07 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-26 08:49:05 -0800 |
commit | be6fe1d8e1023bd80e122fa5eeeaff2ce66e9247 (patch) | |
tree | 8b81f90a9de84f1842cf21285ff8a417497a2075 /net/wireless/mesh.c | |
parent | 1b45ff6c17f1d07c496b08dd602a4aff8fe40848 (diff) |
devlink: require non-NULL ops for devlink instances
Commit 76726ccb7f46 ("devlink: add flash update command") and
commit 2d8dc5bbf4e7 ("devlink: Add support for reload")
access devlink ops without NULL-checking. There is, however, no
driver which would pass in NULL ops, so let's just make that
a requirement. Remove the now unnecessary NULL-checking.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/wireless/mesh.c')
0 files changed, 0 insertions, 0 deletions