Skip to content

Commit

Permalink
[ATM]: atm/mpc.c warning fix
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrew Morton authored and davem330 committed Jun 26, 2006
1 parent f72b948 commit 1e4fd51
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions net/atm/mpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1113,10 +1113,9 @@ static void check_qos_and_open_shortcut(struct k_message *msg, struct mpoa_clien

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){
Expand Down

0 comments on commit 1e4fd51

Please sign in to comment.