diff options
Diffstat (limited to 'drivers/net/vmxnet3/vmxnet3_int.h')
-rw-r--r-- | drivers/net/vmxnet3/vmxnet3_int.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/net/vmxnet3/vmxnet3_int.h b/drivers/net/vmxnet3/vmxnet3_int.h index c88ea5cbba0d..46aee6dc8f44 100644 --- a/drivers/net/vmxnet3/vmxnet3_int.h +++ b/drivers/net/vmxnet3/vmxnet3_int.h | |||
@@ -353,21 +353,6 @@ struct vmxnet3_adapter { | |||
353 | #define VMXNET3_MAX_ETH_HDR_SIZE 22 | 353 | #define VMXNET3_MAX_ETH_HDR_SIZE 22 |
354 | #define VMXNET3_MAX_SKB_BUF_SIZE (3*1024) | 354 | #define VMXNET3_MAX_SKB_BUF_SIZE (3*1024) |
355 | 355 | ||
356 | static inline void set_flag_le16(__le16 *data, u16 flag) | ||
357 | { | ||
358 | *data = cpu_to_le16(le16_to_cpu(*data) | flag); | ||
359 | } | ||
360 | |||
361 | static inline void set_flag_le64(__le64 *data, u64 flag) | ||
362 | { | ||
363 | *data = cpu_to_le64(le64_to_cpu(*data) | flag); | ||
364 | } | ||
365 | |||
366 | static inline void reset_flag_le64(__le64 *data, u64 flag) | ||
367 | { | ||
368 | *data = cpu_to_le64(le64_to_cpu(*data) & ~flag); | ||
369 | } | ||
370 | |||
371 | int | 356 | int |
372 | vmxnet3_quiesce_dev(struct vmxnet3_adapter *adapter); | 357 | vmxnet3_quiesce_dev(struct vmxnet3_adapter *adapter); |
373 | 358 | ||