diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-10 16:39:28 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-10 16:39:28 -0400 |
commit | 151a670186a0f8441798f90c8701647adb7a1589 (patch) | |
tree | 6932543816b57d841515c48b536c38596bdad139 /drivers/ide/ide-probe.c | |
parent | 8185d5aa93e0a5c111adc4952a5b87193a68ae5b (diff) |
ide: remove SECTOR_WORDS define
Just use SECTOR_SIZE instead.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-probe.c')
-rw-r--r-- | drivers/ide/ide-probe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c index 62f7e1ef10c1..be121ffcc1dc 100644 --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c | |||
@@ -561,7 +561,7 @@ static inline u8 probe_for_drive (ide_drive_t *drive) | |||
561 | * Also note that 0 everywhere means "can't do X" | 561 | * Also note that 0 everywhere means "can't do X" |
562 | */ | 562 | */ |
563 | 563 | ||
564 | drive->id = kzalloc(SECTOR_WORDS *4, GFP_KERNEL); | 564 | drive->id = kzalloc(SECTOR_SIZE, GFP_KERNEL); |
565 | drive->id_read = 0; | 565 | drive->id_read = 0; |
566 | if(drive->id == NULL) | 566 | if(drive->id == NULL) |
567 | { | 567 | { |