From b4ba4b492e0e5e2bf2cfc7c6ba3f14cc29c6f2f6 Mon Sep 17 00:00:00 2001 From: Tzafrir Cohen Date: Tue, 20 Mar 2012 06:24:57 +0000 Subject: xpp: oct612x: fix build warnings Signed-off-by: Tzafrir Cohen Origin: http://svnview.digium.com/svn/dahdi?view=rev&rev=10542 git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.6@10547 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- .../oct6100api/oct6100_api/oct6100_interrupts.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c') diff --git a/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c b/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c index 58a7194..898267d 100644 --- a/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c +++ b/xpp/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c @@ -798,7 +798,6 @@ UINT32 Oct6100ApiReadIntrptRegs( tPOCT6100_API_CHIP_ERROR_STATS pErrorStats; tPOCT6100_API_INTRPT_MANAGE pIntrptManage; tOCT6100_READ_PARAMS ReadParams; - tOCT6100_WRITE_PARAMS WriteParams; UINT32 ulResult; UINT16 usReadData; @@ -820,13 +819,6 @@ UINT32 Oct6100ApiReadIntrptRegs( ReadParams.ulUserChipId = pSharedInfo->ChipConfig.ulUserChipId; ReadParams.pusReadData = &usReadData; - /* Set some parameters of write struct. */ - WriteParams.pProcessContext = f_pApiInstance->pProcessContext; - - WriteParams.ulUserChipId = pSharedInfo->ChipConfig.ulUserChipId; - - - /* CPU registers. */ if ( (f_ulRegister210h & 0x00001) != 0 ) { @@ -1296,7 +1288,6 @@ UINT32 Oct6100ApiWriteIeRegs( { tPOCT6100_API_INTRPT_MANAGE pIntrptManage; tOCT6100_WRITE_PARAMS WriteParams; - tOCT6100_READ_PARAMS ReadParams; UINT32 ulResult; /* Get some local pointers. */ @@ -1307,12 +1298,6 @@ UINT32 Oct6100ApiWriteIeRegs( WriteParams.ulUserChipId = f_pApiInstance->pSharedInfo->ChipConfig.ulUserChipId; - - /* Set some parameters of read struct. */ - ReadParams.pProcessContext = f_pApiInstance->pProcessContext; - - ReadParams.ulUserChipId = f_pApiInstance->pSharedInfo->ChipConfig.ulUserChipId; - /*==================================================================================*/ WriteParams.ulWriteAddress = 0x104; WriteParams.usWriteData = 0x0000; -- cgit v1.2.3