Commit 2db233d6 authored by Andrew Morton's avatar Andrew Morton Committed by David S. Miller

[NET]: Fix econet build bustage.

Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarDavid S. Miller <davem@redhat.com>
parent 1df07fe0
...@@ -255,6 +255,8 @@ static int econet_sendmsg(struct kiocb *iocb, struct socket *sock, ...@@ -255,6 +255,8 @@ static int econet_sendmsg(struct kiocb *iocb, struct socket *sock,
struct ec_addr addr; struct ec_addr addr;
int err; int err;
unsigned char port, cb; unsigned char port, cb;
struct sk_buff *skb = 0;
struct ec_cb *eb = 0;
#ifdef CONFIG_ECONET_AUNUDP #ifdef CONFIG_ECONET_AUNUDP
struct msghdr udpmsg; struct msghdr udpmsg;
struct iovec iov[msg->msg_iovlen+1]; struct iovec iov[msg->msg_iovlen+1];
...@@ -311,8 +313,6 @@ static int econet_sendmsg(struct kiocb *iocb, struct socket *sock, ...@@ -311,8 +313,6 @@ static int econet_sendmsg(struct kiocb *iocb, struct socket *sock,
{ {
/* Real hardware Econet. We're not worthy etc. */ /* Real hardware Econet. We're not worthy etc. */
#ifdef CONFIG_ECONET_NATIVE #ifdef CONFIG_ECONET_NATIVE
struct ec_cb *eb;
struct sk_buff *skb;
unsigned short proto = 0; unsigned short proto = 0;
dev_hold(dev); dev_hold(dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment