Skip to content

Commit

Permalink
core/fs/pxe/pxe.c: remove variables set but not used
Browse files Browse the repository at this point in the history
gcc 4.6 warns on variables set but not used, so remove them.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
  • Loading branch information
H. Peter Anvin committed Mar 16, 2011
1 parent 05ae4dd commit 1038e87
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/fs/pxe/pxe.c
Expand Up @@ -332,6 +332,7 @@ static void ack_packet(struct inode *inode, uint16_t ack_num)
udp_write.buffer_size = 4;

err = pxe_call(PXENV_UDP_WRITE, &udp_write);
(void)err;
#if 0
printf("sent %s\n", err ? "FAILED" : "OK");
#endif
Expand Down

0 comments on commit 1038e87

Please sign in to comment.