Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 22525
b: refs/heads/master
c: ea697e4
h: refs/heads/master
i:
  22523: 9ab2d1d
v: v3
  • Loading branch information
Matthew Wilcox authored and James Bottomley committed Feb 28, 2006
1 parent 11e62fb commit 7c367aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 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: a97a83a06b44d4d1cb01191423caf9813a150b95
refs/heads/master: ea697e456a278fb74a925a6c6befe04054520994
7 changes: 3 additions & 4 deletions trunk/drivers/scsi/scsi_transport_spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -401,8 +401,7 @@ static int period_to_str(char *buf, int period)
}

static ssize_t
show_spi_transport_period_helper(struct class_device *cdev, char *buf,
int period)
show_spi_transport_period_helper(char *buf, int period)
{
int len = period_to_str(buf, period);
buf[len++] = '\n';
Expand Down Expand Up @@ -459,7 +458,7 @@ show_spi_transport_period(struct class_device *cdev, char *buf)
if (i->f->get_period)
i->f->get_period(starget);

return show_spi_transport_period_helper(cdev, buf, tp->period);
return show_spi_transport_period_helper(buf, tp->period);
}

static ssize_t
Expand Down Expand Up @@ -494,7 +493,7 @@ show_spi_transport_min_period(struct class_device *cdev, char *buf)
struct spi_transport_attrs *tp =
(struct spi_transport_attrs *)&starget->starget_data;

return show_spi_transport_period_helper(cdev, buf, tp->min_period);
return show_spi_transport_period_helper(buf, tp->min_period);
}

static ssize_t
Expand Down

0 comments on commit 7c367aa

Please sign in to comment.