diff options
author | Thomas Graf <tgr@lsx.localdomain> | 2008-05-14 18:34:39 +0200 |
---|---|---|
committer | Thomas Graf <tgr@lsx.localdomain> | 2008-05-14 18:34:39 +0200 |
commit | b4fbe1d34d6f54045b5c6236d86aacd4340ec83d (patch) | |
tree | 5f0d8a6fc7d399388f983a069f2c0ac087022e93 /include/netlink/route/link.h | |
parent | eed2afaab7aa72fae393a395a8879b91a922ff5e (diff) |
Replace RTNL_LINK_NOT_FOUND with just 0
The interface index 0 is reserved and can be safely used to
signal that the device does not exist.
Diffstat (limited to 'include/netlink/route/link.h')
-rw-r--r-- | include/netlink/route/link.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/netlink/route/link.h b/include/netlink/route/link.h index 87e5ada..ec151aa 100644 --- a/include/netlink/route/link.h +++ b/include/netlink/route/link.h @@ -51,12 +51,6 @@ enum rtnl_link_st { #define RTNL_LINK_STATS_MAX (__RTNL_LINK_STATS_MAX - 1) -/** - * Special interface index stating the link was not found. - * @ingroup link - */ -#define RTNL_LINK_NOT_FOUND -1 - /* link object allocation/freeage */ extern struct rtnl_link *rtnl_link_alloc(void); extern void rtnl_link_put(struct rtnl_link *); |