]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/scsi/sg.c
sg: fix odd style (extra parenthesis) introduced by cmd filter patch
[linux-2.6-omap-h63xx.git] / drivers / scsi / sg.c
index f7abccaffaec47c73465b7698bb0c6cdf47ae84e..62b5bd5fd761b03f8f31e799cc839ee6ca5c5a3b 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;
        }