commit | 80bedf1a62d65fb79eaaf030e75174886f1a794c | [log] [tgz] |
---|---|---|
author | Ido Schimmel <idosch@mellanox.com> | Mon Jun 20 23:03:59 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 21 05:02:48 2016 -0400 |
tree | 2061fa2e8e337f5a49bd873f3ea79072e43e8b06 | |
parent | 527f227334eb82b9f1ffe8a399d56ecf9ae8ebaf [diff] |
mlxsw: spectrum: Use notifier_from_errno() in notifier block Instead of checking the error value and returning NOTIFY_BAD, just use notifier_from_errno() and simplify the code. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>