Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 57922
b: refs/heads/master
c: d461462
h: refs/heads/master
v: v3
  • Loading branch information
Martin Schwidefsky authored and Jeff Garzik committed Jun 20, 2007
1 parent a2c019a commit 530d6f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bfac0d0b6c6e20933b46f53a964c130f2f2bfa85
refs/heads/master: d46146274b2dc01fac4063d31393385117d31f58
18 changes: 3 additions & 15 deletions trunk/drivers/s390/net/netiucv.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,18 +134,6 @@ PRINT_##importance(header "%02x %02x %02x %02x %02x %02x %02x %02x " \
*(((char*)ptr)+28),*(((char*)ptr)+29), \
*(((char*)ptr)+30),*(((char*)ptr)+31));

static inline void iucv_hex_dump(unsigned char *buf, size_t len)
{
size_t i;

for (i = 0; i < len; i++) {
if (i && !(i % 16))
printk("\n");
printk("%02x ", *(buf + i));
}
printk("\n");
}

#define PRINTK_HEADER " iucv: " /* for debugging */

static struct device_driver netiucv_driver = {
Expand Down Expand Up @@ -280,7 +268,7 @@ static u8 iucvMagic[16] = {
*
* @returns The printable string (static data!!)
*/
static inline char *netiucv_printname(char *name)
static char *netiucv_printname(char *name)
{
static char tmp[9];
char *p = tmp;
Expand Down Expand Up @@ -1730,7 +1718,7 @@ static struct attribute_group netiucv_stat_attr_group = {
.attrs = netiucv_stat_attrs,
};

static inline int netiucv_add_files(struct device *dev)
static int netiucv_add_files(struct device *dev)
{
int ret;

Expand All @@ -1744,7 +1732,7 @@ static inline int netiucv_add_files(struct device *dev)
return ret;
}

static inline void netiucv_remove_files(struct device *dev)
static void netiucv_remove_files(struct device *dev)
{
IUCV_DBF_TEXT(trace, 3, __FUNCTION__);
sysfs_remove_group(&dev->kobj, &netiucv_stat_attr_group);
Expand Down

0 comments on commit 530d6f8

Please sign in to comment.