diff options
Diffstat (limited to 'sound/pci/ctxfi/cthardware.c')
-rw-r--r-- | sound/pci/ctxfi/cthardware.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/pci/ctxfi/cthardware.c b/sound/pci/ctxfi/cthardware.c index 53d1acadc0e..5ec6813d391 100644 --- a/sound/pci/ctxfi/cthardware.c +++ b/sound/pci/ctxfi/cthardware.c | |||
@@ -22,7 +22,7 @@ | |||
22 | 22 | ||
23 | static enum CHIPTYP __devinitdata get_chip_type(struct hw *hw) | 23 | static enum CHIPTYP __devinitdata get_chip_type(struct hw *hw) |
24 | { | 24 | { |
25 | enum CHIPTYP type = ATCNONE; | 25 | enum CHIPTYP type; |
26 | 26 | ||
27 | switch (hw->pci->device) { | 27 | switch (hw->pci->device) { |
28 | case 0x0005: /* 20k1 device */ | 28 | case 0x0005: /* 20k1 device */ |
@@ -41,7 +41,7 @@ static enum CHIPTYP __devinitdata get_chip_type(struct hw *hw) | |||
41 | 41 | ||
42 | int __devinit create_hw_obj(struct pci_dev *pci, struct hw **rhw) | 42 | int __devinit create_hw_obj(struct pci_dev *pci, struct hw **rhw) |
43 | { | 43 | { |
44 | int err = 0; | 44 | int err; |
45 | 45 | ||
46 | switch (pci->device) { | 46 | switch (pci->device) { |
47 | case 0x0005: /* 20k1 device */ | 47 | case 0x0005: /* 20k1 device */ |
@@ -65,7 +65,7 @@ int __devinit create_hw_obj(struct pci_dev *pci, struct hw **rhw) | |||
65 | 65 | ||
66 | int destroy_hw_obj(struct hw *hw) | 66 | int destroy_hw_obj(struct hw *hw) |
67 | { | 67 | { |
68 | int err = 0; | 68 | int err; |
69 | 69 | ||
70 | switch (hw->pci->device) { | 70 | switch (hw->pci->device) { |
71 | case 0x0005: /* 20k1 device */ | 71 | case 0x0005: /* 20k1 device */ |