Files
linux/net/mptcp
Matthieu Baerts 03e7d28cd2 mptcp: return 0 instead of 'err' var
When 'err' is 0, it looks clearer to return '0' instead of the variable
called 'err'.

The behaviour is then not modified, just a clearer code.

By doing this, we can also avoid false positive smatch warnings like
this one:

  net/mptcp/pm_netlink.c:1169 mptcp_pm_parse_pm_addr_attr() warn: missing error code? 'err'

Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Suggested-by: Mat Martineau <[email protected]>
Reviewed-by: Mat Martineau <[email protected]>
Signed-off-by: Matthieu Baerts <[email protected]>
Signed-off-by: Mat Martineau <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
2022-12-09 19:46:11 -08:00
..
2022-05-20 15:29:00 -07:00
2020-06-26 16:21:39 -07:00
2022-05-05 19:00:16 -07:00
2022-05-05 19:00:16 -07:00
2022-11-11 21:19:47 -08:00
2022-12-01 20:06:06 -08:00
2022-12-01 20:06:06 -08:00
2022-12-09 19:46:11 -08:00
2022-11-11 21:19:47 -08:00