summaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-probe.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2009-08-18 20:18:35 +0200
committerJiri Kosina <jkosina@suse.cz>2009-09-21 15:14:58 +0200
commita419aef8b858a2bdb98df60336063d28df4b272f (patch)
tree1736f6650ec0bfc01074c489fc47396114099c5e /drivers/ide/ide-probe.c
parenttrivial: Fix duplicated word "options" in comment (diff)
downloadlinux-a419aef8b858a2bdb98df60336063d28df4b272f.tar.xz
linux-a419aef8b858a2bdb98df60336063d28df4b272f.zip
trivial: remove unnecessary semicolons
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/ide/ide-probe.c')
-rw-r--r--drivers/ide/ide-probe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c
index 8de442cbee94..63c53d65e875 100644
--- a/drivers/ide/ide-probe.c
+++ b/drivers/ide/ide-probe.c
@@ -1212,7 +1212,7 @@ static int ide_find_port_slot(const struct ide_port_info *d)
{
int idx = -ENOENT;
u8 bootable = (d && (d->host_flags & IDE_HFLAG_NON_BOOTABLE)) ? 0 : 1;
- u8 i = (d && (d->host_flags & IDE_HFLAG_QD_2ND_PORT)) ? 1 : 0;;
+ u8 i = (d && (d->host_flags & IDE_HFLAG_QD_2ND_PORT)) ? 1 : 0;
/*
* Claim an unassigned slot.