summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir@cohens.org.il>2010-08-01 00:54:27 +0300
committerTzafrir Cohen <tzafrir@cohens.org.il>2010-08-01 00:54:27 +0300
commit07bc77d3ab90baf2495f9c6b752322c35df9b8fa (patch)
tree5d3e744d1e97c45f859f81ea15239c49633c7c51
parent2ce7c8db81593ac05c35951b18ea5b4406f87d2c (diff)
remove two unused typedef-s
typedefs are not popular in the kernel. Luckily those typedefs weren't used anywhere in the code.
-rw-r--r--drivers/dahdi/zaphfc/zaphfc.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/dahdi/zaphfc/zaphfc.h b/drivers/dahdi/zaphfc/zaphfc.h
index dbb8ab7..9e87eda 100644
--- a/drivers/dahdi/zaphfc/zaphfc.h
+++ b/drivers/dahdi/zaphfc/zaphfc.h
@@ -319,7 +319,7 @@ struct hfc_chan_duplex {
};
-typedef struct hfc_card {
+struct hfc_card {
int cardnum;
struct pci_dev *pcidev;
struct dahdi_hfc *ztdev;
@@ -381,9 +381,9 @@ typedef struct hfc_card {
unsigned char cardno;
struct hfc_card *next;
-} hfc_card;
+};
-typedef struct dahdi_hfc {
+struct dahdi_hfc {
unsigned int usecount;
struct dahdi_span span;
struct dahdi_chan chans[3];
@@ -399,7 +399,7 @@ typedef struct dahdi_hfc {
int frames_out;
int frames_in;
-} dahdi_hfc;
+};
static inline u8 hfc_inb(struct hfc_card *card, int offset)
{