* [PATCH] scsi: zorro7xx: braces code style fix
@ 2010-02-09 21:41 Cosimo Streppone
0 siblings, 0 replies; only message in thread
From: Cosimo Streppone @ 2010-02-09 21:41 UTC (permalink / raw)
To: James E . J . Bottomley, linux-scsi, linux-kernel
Cc: Greg Kroah-Hartman, Cosimo Streppone
This is just a tiny coding style fix for the scsi/zorro7xx.c file.
FOSDEM GregKH talk helped this patch come to life.
Signed-off-by: Cosimo Streppone <cosimo@cpan.org>
---
drivers/scsi/zorro7xx.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/scsi/zorro7xx.c b/drivers/scsi/zorro7xx.c
index 64d40a2..a666f20 100644
--- a/drivers/scsi/zorro7xx.c
+++ b/drivers/scsi/zorro7xx.c
@@ -80,11 +80,10 @@ static int __devinit zorro7xx_init_one(struct zorro_dev *z,
board = zorro_resource_start(z);
zdd = (struct zorro_driver_data *)ent->driver_data;
- if (zdd->absolute) {
+ if (zdd->absolute)
ioaddr = zdd->offset;
- } else {
+ else
ioaddr = board + zdd->offset;
- }
if (!zorro_request_device(z, zdd->name)) {
printk(KERN_ERR "zorro7xx: cannot reserve region 0x%lx, abort\n",
--
1.6.0.4
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-02-09 22:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-09 21:41 [PATCH] scsi: zorro7xx: braces code style fix Cosimo Streppone
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®