diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2007-06-20 07:03:57 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-06-20 19:12:42 -0400 |
commit | d46146274b2dc01fac4063d31393385117d31f58 (patch) | |
tree | e0a32c34c22fe520a00ebf97198526dddb685b91 /drivers | |
parent | bfac0d0b6c6e20933b46f53a964c130f2f2bfa85 (diff) |
s390: netiucv inlining cleanup
The recent iucv rework patches re-introduced some unnecessary inlines.
Remove them again.
Signed-off-by: Frank Pavlic <fpavlic@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/s390/net/netiucv.c | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/drivers/s390/net/netiucv.c b/drivers/s390/net/netiucv.c index 5303aea6f4d3..3d28e1a5bf79 100644 --- a/drivers/s390/net/netiucv.c +++ b/drivers/s390/net/netiucv.c | |||
@@ -134,18 +134,6 @@ PRINT_##importance(header "%02x %02x %02x %02x %02x %02x %02x %02x " \ | |||
134 | *(((char*)ptr)+28),*(((char*)ptr)+29), \ | 134 | *(((char*)ptr)+28),*(((char*)ptr)+29), \ |
135 | *(((char*)ptr)+30),*(((char*)ptr)+31)); | 135 | *(((char*)ptr)+30),*(((char*)ptr)+31)); |
136 | 136 | ||
137 | static inline void iucv_hex_dump(unsigned char *buf, size_t len) | ||
138 | { | ||
139 | size_t i; | ||
140 | |||
141 | for (i = 0; i < len; i++) { | ||
142 | if (i && !(i % 16)) | ||
143 | printk("\n"); | ||
144 | printk("%02x ", *(buf + i)); | ||
145 | } | ||
146 | printk("\n"); | ||
147 | } | ||
148 | |||
149 | #define PRINTK_HEADER " iucv: " /* for debugging */ | 137 | #define PRINTK_HEADER " iucv: " /* for debugging */ |
150 | 138 | ||
151 | static struct device_driver netiucv_driver = { | 139 | static struct device_driver netiucv_driver = { |
@@ -280,7 +268,7 @@ static u8 iucvMagic[16] = { | |||
280 | * | 268 | * |
281 | * @returns The printable string (static data!!) | 269 | * @returns The printable string (static data!!) |
282 | */ | 270 | */ |
283 | static inline char *netiucv_printname(char *name) | 271 | static char *netiucv_printname(char *name) |
284 | { | 272 | { |
285 | static char tmp[9]; | 273 | static char tmp[9]; |
286 | char *p = tmp; | 274 | char *p = tmp; |
@@ -1730,7 +1718,7 @@ static struct attribute_group netiucv_stat_attr_group = { | |||
1730 | .attrs = netiucv_stat_attrs, | 1718 | .attrs = netiucv_stat_attrs, |
1731 | }; | 1719 | }; |
1732 | 1720 | ||
1733 | static inline int netiucv_add_files(struct device *dev) | 1721 | static int netiucv_add_files(struct device *dev) |
1734 | { | 1722 | { |
1735 | int ret; | 1723 | int ret; |
1736 | 1724 | ||
@@ -1744,7 +1732,7 @@ static inline int netiucv_add_files(struct device *dev) | |||
1744 | return ret; | 1732 | return ret; |
1745 | } | 1733 | } |
1746 | 1734 | ||
1747 | static inline void netiucv_remove_files(struct device *dev) | 1735 | static void netiucv_remove_files(struct device *dev) |
1748 | { | 1736 | { |
1749 | IUCV_DBF_TEXT(trace, 3, __FUNCTION__); | 1737 | IUCV_DBF_TEXT(trace, 3, __FUNCTION__); |
1750 | sysfs_remove_group(&dev->kobj, &netiucv_stat_attr_group); | 1738 | sysfs_remove_group(&dev->kobj, &netiucv_stat_attr_group); |