diff options
author | Andrew Morton <akpm@osdl.org> | 2006-06-26 03:01:58 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-06-26 03:01:58 -0400 |
commit | 1e4fd51e2c830f2a10c9b143986757d8ea35b0fc (patch) | |
tree | a6b0756bcda7cb0d0168d77fc954696a60849beb /net/atm/mpc.c | |
parent | f72b948dcbb8558d639214536c2ace1b0760f41d (diff) |
[ATM]: atm/mpc.c warning fix
net/atm/mpc.c: In function 'MPOA_res_reply_rcvd':
net/atm/mpc.c:1116: warning: unused variable 'ip'
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/atm/mpc.c')
-rw-r--r-- | net/atm/mpc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/atm/mpc.c b/net/atm/mpc.c index a48a5d580408..5fe77df00186 100644 --- a/net/atm/mpc.c +++ b/net/atm/mpc.c | |||
@@ -1113,10 +1113,9 @@ static void check_qos_and_open_shortcut(struct k_message *msg, struct mpoa_clien | |||
1113 | 1113 | ||
1114 | static void MPOA_res_reply_rcvd(struct k_message *msg, struct mpoa_client *mpc) | 1114 | static void MPOA_res_reply_rcvd(struct k_message *msg, struct mpoa_client *mpc) |
1115 | { | 1115 | { |
1116 | unsigned char *ip; | ||
1117 | |||
1118 | uint32_t dst_ip = msg->content.in_info.in_dst_ip; | 1116 | uint32_t dst_ip = msg->content.in_info.in_dst_ip; |
1119 | in_cache_entry *entry = mpc->in_ops->get(dst_ip, mpc); | 1117 | in_cache_entry *entry = mpc->in_ops->get(dst_ip, mpc); |
1118 | |||
1120 | dprintk("mpoa: (%s) MPOA_res_reply_rcvd: ip %u.%u.%u.%u\n", mpc->dev->name, NIPQUAD(dst_ip)); | 1119 | dprintk("mpoa: (%s) MPOA_res_reply_rcvd: ip %u.%u.%u.%u\n", mpc->dev->name, NIPQUAD(dst_ip)); |
1121 | ddprintk("mpoa: (%s) MPOA_res_reply_rcvd() entry = %p", mpc->dev->name, entry); | 1120 | ddprintk("mpoa: (%s) MPOA_res_reply_rcvd() entry = %p", mpc->dev->name, entry); |
1122 | if(entry == NULL){ | 1121 | if(entry == NULL){ |