diff options
Diffstat (limited to 'net/mctp/route.c')
-rw-r--r-- | net/mctp/route.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/mctp/route.c b/net/mctp/route.c index 8d759b48f747..976a2b754701 100644 --- a/net/mctp/route.c +++ b/net/mctp/route.c @@ -890,8 +890,7 @@ out_release: if (!ext_rt) mctp_route_release(rt); - if (dev) - dev_put(dev); + dev_put(dev); return rc; |