Commit 9c2d00e7 authored by Vadim Lobanov's avatar Vadim Lobanov Committed by David S. Miller

[NET]: Save some space with sysfs strings.

parent 8fc64470
...@@ -20,9 +20,9 @@ ...@@ -20,9 +20,9 @@
#define to_class_dev(obj) container_of(obj,struct class_device,kobj) #define to_class_dev(obj) container_of(obj,struct class_device,kobj)
#define to_net_dev(class) container_of(class, struct net_device, class_dev) #define to_net_dev(class) container_of(class, struct net_device, class_dev)
static const char *fmt_hex = "%#x\n"; static const char fmt_hex[] = "%#x\n";
static const char *fmt_dec = "%d\n"; static const char fmt_dec[] = "%d\n";
static const char *fmt_ulong = "%lu\n"; static const char fmt_ulong[] = "%lu\n";
static inline int dev_isalive(const struct net_device *dev) static inline int dev_isalive(const struct net_device *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