Re: + netlink-remove-dead-code.patch added to -mm tree

From: David Miller
Date: Wed Jun 21 2006 - 16:52:08 EST


From: akpm@xxxxxxxx
Date: Wed, 21 Jun 2006 13:33:58 -0700

> diff -puN net/netlink/af_netlink.c~netlink-remove-dead-code net/netlink/af_netlink.c
> --- a/net/netlink/af_netlink.c~netlink-remove-dead-code
> +++ a/net/netlink/af_netlink.c
> @@ -1380,9 +1380,6 @@ static int netlink_dump(struct sock *sk)
>
> netlink_destroy_callback(cb);
> return 0;
> -
> -nlmsg_failure:
> - return -ENOBUFS;
> }
>
> int netlink_dump_start(struct sock *ssk, struct sk_buff *skb,

Andrew, please type make before you commit things like this
to your tree. This breaks the build.

These code labels are referenced internally by the netlink packet
message macros, in this case the reference comes from
NLMSG_NEW_ANSWER().
-
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/