Commit 2cde1f30 authored by Ursula Braun's avatar Ursula Braun Committed by Jeff Garzik

claw: removal of volatile variables

Volatile variables queme_switch and pk_delay are not used anyway.
They are just a left over from an unused timer based packing logic.
Signed-off-by: default avatarUrsula Braun <braunu@de.ibm.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 5289b4c4
...@@ -278,8 +278,6 @@ struct claw_env { ...@@ -278,8 +278,6 @@ struct claw_env {
__u16 write_size; /* write buffer size */ __u16 write_size; /* write buffer size */
__u16 dev_id; /* device ident */ __u16 dev_id; /* device ident */
__u8 packing; /* are we packing? */ __u8 packing; /* are we packing? */
volatile __u8 queme_switch; /* gate for imed packing */
volatile unsigned long pk_delay; /* Delay for adaptive packing */
__u8 in_use; /* device active flag */ __u8 in_use; /* device active flag */
struct net_device *ndev; /* backward ptr to the net dev*/ struct net_device *ndev; /* backward ptr to the net dev*/
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment