summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2016-06-20 23:03:59 +0200
committerDavid S. Miller <davem@davemloft.net>2016-06-21 05:02:48 -0400
commit80bedf1a62d65fb79eaaf030e75174886f1a794c (patch)
tree2061fa2e8e337f5a49bd873f3ea79072e43e8b06 /include
parent527f227334eb82b9f1ffe8a399d56ecf9ae8ebaf (diff)
downloadcachepc-linux-80bedf1a62d65fb79eaaf030e75174886f1a794c.tar.gz
cachepc-linux-80bedf1a62d65fb79eaaf030e75174886f1a794c.zip
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions