Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322979
b: refs/heads/master
c: ac64e65
h: refs/heads/master
i:
  322977: f69d27c
  322975: 9bf55d6
v: v3
  • Loading branch information
Asai Thambi S P authored and Jens Axboe committed Sep 12, 2012
1 parent 5ec5cee commit 7e3beeb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 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: 45422e7431f3afa049d07a99a35de8f8ceea6b3c
refs/heads/master: ac64e6572d3906c3874175cf5345a37dc7f983f5
6 changes: 0 additions & 6 deletions trunk/drivers/block/mtip32xx/mtip32xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -2592,9 +2592,6 @@ static ssize_t mtip_hw_read_registers(struct file *f, char __user *ubuf,
if (!len || size)
return 0;

if (size < 0)
return -EINVAL;

size += sprintf(&buf[size], "H/ S ACTive : [ 0x");

for (n = dd->slot_groups-1; n >= 0; n--)
Expand Down Expand Up @@ -2664,9 +2661,6 @@ static ssize_t mtip_hw_read_flags(struct file *f, char __user *ubuf,
if (!len || size)
return 0;

if (size < 0)
return -EINVAL;

size += sprintf(&buf[size], "Flag-port : [ %08lX ]\n",
dd->port->flags);
size += sprintf(&buf[size], "Flag-dd : [ %08lX ]\n",
Expand Down

0 comments on commit 7e3beeb

Please sign in to comment.