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: Ursula Braun <braunu@de.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
committed by
Jeff Garzik
parent
5289b4c41f
commit
2cde1f30b3
@@ -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*/
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user