git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hpt366: fix compile warning
[pandora-kernel.git]
/
drivers
/
ide
/
pci
/
hpt366.c
diff --git
a/drivers/ide/pci/hpt366.c
b/drivers/ide/pci/hpt366.c
index
9cf171c
..
ca0acb5
100644
(file)
--- a/
drivers/ide/pci/hpt366.c
+++ b/
drivers/ide/pci/hpt366.c
@@
-1289,7
+1289,6
@@
static u8 hpt3xx_cable_detect(ide_hwif_t *hwif)
static void __devinit init_hwif_hpt366(ide_hwif_t *hwif)
{
- struct pci_dev *dev = to_pci_dev(hwif->dev);
struct hpt_info *info = hpt3xx_get_info(hwif->dev);
int serialize = HPT_SERIALIZE_IO;
u8 chip_type = info->chip_type;