Commit 02984f02 authored by James Bottomley's avatar James Bottomley

SCSI: Fix style nitpicks

Noticed by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 8e583196
......@@ -786,7 +786,7 @@ void scsi_io_completion(struct scsi_cmnd *cmd, unsigned int good_bytes,
* sense buffer. We can extract information from this, so we
* can choose a block to remap, etc.
*/
if (sense_valid && (! sense_deferred)) {
if (sense_valid && !sense_deferred) {
switch (sshdr.sense_key) {
case UNIT_ATTENTION:
if (cmd->device->removable) {
......
......@@ -251,7 +251,7 @@ static int sd_init_command(struct scsi_cmnd * SCpnt)
/*
* we only do REQ_CMD and REQ_BLOCK_PC
*/
if (! blk_fs_request(rq))
if (!blk_fs_request(rq))
return 0;
disk = rq->rq_disk;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment