Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 63123
b: refs/heads/master
c: 1079ddc
h: refs/heads/master
i:
  63121: 068c556
  63119: f75c2a4
v: v3
  • Loading branch information
FUJITA Tomonori authored and James Bottomley committed Jul 23, 2007
1 parent fc5e87d commit f3bd674
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 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: 598443a2124618fc8fe5a8bae32c129666ac3eab
refs/heads/master: 1079ddcb07e0c39b576cd60174ca00ed9545c163
9 changes: 0 additions & 9 deletions trunk/block/bsg.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,6 @@
* archive for more details.
*
*/
/*
* TODO
* - Should this get merged, block/scsi_ioctl.c will be migrated into
* this file. To keep maintenance down, it's easier to have them
* seperated right now.
*
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/file.h>
Expand Down Expand Up @@ -92,7 +85,6 @@ struct bsg_command {
struct bio *bidi_bio;
int err;
struct sg_io_v4 hdr;
struct sg_io_v4 __user *uhdr;
char sense[SCSI_SENSE_BUFFERSIZE];
};

Expand Down Expand Up @@ -620,7 +612,6 @@ static int __bsg_write(struct bsg_device *bd, const char __user *buf,
break;
}

bc->uhdr = (struct sg_io_v4 __user *) buf;
if (copy_from_user(&bc->hdr, buf, sizeof(bc->hdr))) {
ret = -EFAULT;
break;
Expand Down

0 comments on commit f3bd674

Please sign in to comment.