net/econet/af_econet.c fix warning xyz never used
Subsystems (2)
From: <[email protected]>(Walter Harms)
moving the define a bit higher removes two useless warnings.
regards,
walter
Signed-off-by Maximilian Attems <[email protected]>
---
linux-2.6.7-max/net/econet/af_econet.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
net/econet/af_econet.c renamed from net/econet/af_econet.c~fix-warning-af_econet +1 -1
@@ -255,9 +255,9 @@ static int econet_sendmsg(struct kiocb *struct ec_addr addr;int err;unsigned char port, cb; +#ifdef CONFIG_ECONET_NATIVE struct sk_buff *skb;struct ec_cb *eb; -#ifdef CONFIG_ECONET_NATIVE unsigned short proto =0 ;#endif #ifdef CONFIG_ECONET_AUNUDP
In article <[email protected]> (at Mon, 21 Jun 2004 19:09:04 +0200), maximilian attems <[email protected]> says:
Quoted 2 lines
From: <[email protected]>(Walter Harms)
moving the define a bit higher removes two useless warnings.
:
Quoted 1 line
Signed-off-by Maximilian Attems <[email protected]>
:
net/econet/af_econet.c static int econet_sendmsg(struct kiocb * · line 261
Quoted 6 lines
net/econet/af_econet.c renamed from net/econet/af_econet.c~fix-warning-af_econet +1
-1unsigned char port, cb; +#ifdef CONFIG_ECONET_NATIVE struct sk_buff *skb;struct ec_cb *eb; -#ifdef CONFIG_ECONET_NATIVE unsigned short proto =0 ;
Already fixed in current bk tree. Thanks.
--yoshfuji