* [patch 5/6] atm/mpc.c warning fix
@ 2006-06-25 8:47 akpm
2006-06-26 7:02 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: akpm @ 2006-06-25 8:47 UTC (permalink / raw)
To: davem; +Cc: netdev, akpm, chas
From: Andrew Morton <akpm@osdl.org>
net/atm/mpc.c: In function 'MPOA_res_reply_rcvd':
net/atm/mpc.c:1116: warning: unused variable 'ip'
Cc: chas williams <chas@cmf.nrl.navy.mil>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---
net/atm/mpc.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff -puN net/atm/mpc.c~atm-mpcc-warning-fix net/atm/mpc.c
--- a/net/atm/mpc.c~atm-mpcc-warning-fix
+++ a/net/atm/mpc.c
@@ -1113,10 +1113,9 @@ static void check_qos_and_open_shortcut(
static void MPOA_res_reply_rcvd(struct k_message *msg, struct mpoa_client *mpc)
{
- unsigned char *ip;
-
uint32_t dst_ip = msg->content.in_info.in_dst_ip;
in_cache_entry *entry = mpc->in_ops->get(dst_ip, mpc);
+
dprintk("mpoa: (%s) MPOA_res_reply_rcvd: ip %u.%u.%u.%u\n", mpc->dev->name, NIPQUAD(dst_ip));
ddprintk("mpoa: (%s) MPOA_res_reply_rcvd() entry = %p", mpc->dev->name, entry);
if(entry == NULL){
_
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-06-26 7:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-25 8:47 [patch 5/6] atm/mpc.c warning fix akpm
2006-06-26 7:02 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox