Commit 70e2db22 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

Staging: epl: fix up epl/kernel/*.h files



Only include a file if it's needed.

Also remove some unused comments from the boilerplate text.

And delete some empty .h files

Cc: Daniel Krueger <daniel.krueger@systec-electronic.com>
Cc: Ronald Sieber <Ronald.Sieber@systec-electronic.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 046f45fa
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -69,8 +69,6 @@


****************************************************************************/
****************************************************************************/


#include "kernel/EplNmtkCal.h"

// TODO: init function needed to prepare EplNmtkGetNmtState for
// TODO: init function needed to prepare EplNmtkGetNmtState for
//       io-controll-call from EplNmtuCal-Modul
//       io-controll-call from EplNmtuCal-Modul


+0 −1
Original line number Original line Diff line number Diff line
@@ -70,7 +70,6 @@
****************************************************************************/
****************************************************************************/


#include "EplInc.h"
#include "EplInc.h"
#include "kernel/EplObdkCal.h"


/***************************************************************************/
/***************************************************************************/
/*                                                                         */
/*                                                                         */
+0 −12
Original line number Original line Diff line number Diff line
@@ -74,14 +74,6 @@
#include "../EplDll.h"
#include "../EplDll.h"
#include "../EplEvent.h"
#include "../EplEvent.h"


//---------------------------------------------------------------------------
// const defines
//---------------------------------------------------------------------------

//---------------------------------------------------------------------------
// typedef
//---------------------------------------------------------------------------

typedef tEplKernel(*tEplDllkCbAsync) (tEplFrameInfo * pFrameInfo_p);
typedef tEplKernel(*tEplDllkCbAsync) (tEplFrameInfo * pFrameInfo_p);


typedef struct {
typedef struct {
@@ -108,10 +100,6 @@ struct _tEplDllkNodeInfo {


typedef struct _tEplDllkNodeInfo tEplDllkNodeInfo;
typedef struct _tEplDllkNodeInfo tEplDllkNodeInfo;


//---------------------------------------------------------------------------
// function prototypes
//---------------------------------------------------------------------------

#if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_DLLK)) != 0)
#if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_DLLK)) != 0)


tEplKernel EplDllkAddInstance(tEplDllkInitParam * pInitParam_p);
tEplKernel EplDllkAddInstance(tEplDllkInitParam * pInitParam_p);
+0 −12
Original line number Original line Diff line number Diff line
@@ -74,14 +74,6 @@
#include "../EplDll.h"
#include "../EplDll.h"
#include "../EplEvent.h"
#include "../EplEvent.h"


//---------------------------------------------------------------------------
// const defines
//---------------------------------------------------------------------------

//---------------------------------------------------------------------------
// typedef
//---------------------------------------------------------------------------

typedef struct {
typedef struct {
	unsigned long m_ulCurTxFrameCountGen;
	unsigned long m_ulCurTxFrameCountGen;
	unsigned long m_ulCurTxFrameCountNmt;
	unsigned long m_ulCurTxFrameCountNmt;
@@ -92,10 +84,6 @@ typedef struct {


} tEplDllkCalStatistics;
} tEplDllkCalStatistics;


//---------------------------------------------------------------------------
// function prototypes
//---------------------------------------------------------------------------

#if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_DLLK)) != 0)
#if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_DLLK)) != 0)


tEplKernel EplDllkCalAddInstance(void);
tEplKernel EplDllkCalAddInstance(void);
+0 −12
Original line number Original line Diff line number Diff line
@@ -73,18 +73,6 @@


#include "../EplEvent.h"
#include "../EplEvent.h"


//---------------------------------------------------------------------------
// const defines
//---------------------------------------------------------------------------

//---------------------------------------------------------------------------
// typedef
//---------------------------------------------------------------------------

//---------------------------------------------------------------------------
// function prototypes
//---------------------------------------------------------------------------

// init function
// init function
tEplKernel EplErrorHandlerkInit(void);
tEplKernel EplErrorHandlerkInit(void);


Loading