sg: fix odd style (extra parenthesis) introduced by cmd filter patch
authorJens Axboe <jens.axboe@oracle.com>
Thu, 26 Jun 2008 17:45:54 +0000 (19:45 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 3 Jul 2008 11:21:14 +0000 (13:21 +0200)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/scsi/sg.c

index f7abcca..62b5bd5 100644 (file)
@@ -679,7 +679,7 @@ sg_new_write(Sg_fd *sfp, struct file *file, const char __user *buf,
                sg_remove_request(sfp, srp);
                return -EFAULT;
        }
-       if (read_only && (!blk_verify_command(file, cmnd))) {
+       if (read_only && !blk_verify_command(file, cmnd)) {
                sg_remove_request(sfp, srp);
                return -EPERM;
        }