Re: [RFC: 2.6 patch] net/netlink/: possible cleanups

From: David S. Miller
Date: Thu Apr 13 2006 - 16:26:20 EST


From: Adrian Bunk <bunk@xxxxxxxxx>
Date: Thu, 13 Apr 2006 18:27:10 +0200

> This patch contains the following possible cleanups plus changes related
> to them:
> - make the following needlessly global functions static:
> - attr.c: __nla_reserve()
> - attr.c: __nla_put()
> - #if 0 the following unused global functions:
> - attr.c: nla_validate()
> - attr.c: nla_find()
> - attr.c: nla_memcpy()
> - attr.c: nla_memcmp()
> - attr.c: nla_strcmp()
> - attr.c: nla_reserve()
> - genetlink.c: genl_unregister_ops()
> - remove the following unused EXPORT_SYMBOL's:
> - af_netlink.c: netlink_set_nonroot
> - attr.c: nla_parse
> - attr.c: nla_strlcpy
> - attr.c: nla_put
>
> Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

Bunk-bot, you have to stop.

These interfaces were added so that new users of netlink could
write their code more easily.

Unused does not equate to "comment out or delete".
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/