From: Jens Axboe Date: Thu, 26 Jun 2008 17:45:54 +0000 (+0200) Subject: sg: fix odd style (extra parenthesis) introduced by cmd filter patch X-Git-Tag: v2.6.27-rc1~1114^2~16 X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=2b272d4f7953a73ea1c1f7ba33d5a2d7439ce71b;p=linux-2.6-omap-h63xx.git sg: fix odd style (extra parenthesis) introduced by cmd filter patch Signed-off-by: Jens Axboe --- diff --git a/drivers/scsi/sg.c b/drivers/scsi/sg.c index f7abccaffae..62b5bd5fd76 100644 --- a/drivers/scsi/sg.c +++ b/drivers/scsi/sg.c @@ -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; }